how do i launch packet tracer on ubuntu port? - Galaxy S II Q&A, Help & Troubleshooting

Hi,
I have installed ubuntu 10.10 port to my sgs 2. I have tried to install ad launch cisco packet tracer but i couldn't ran it. I could extract it and install from terminal the installer made an executable text file but i cannot run it.
please help!

Wow, this is an advanced one.
As you said, you're getting a shell script with the binary payload included. Does it have execution permissions ? does it use the correct shell ? is the script located on a partition without execute rights ? be more specific please.

VAXXi said:
Wow, this is an advanced one.
As you said, you're getting a shell script with the binary payload included. Does it have execution permissions ? does it use the correct shell ? is the script located on a partition without execute rights ? be more specific please.
Click to expand...
Click to collapse
I downloaded this one: Packet Tracer v5.3.3 Application + Tutorial - Generic Ubuntu
This is the complete Packet Tracer program including tutorials for generic Ubuntu
From: cisco.netacad.net/cnams/content/templates/LibraryHome.jsp?#/resource/lcms/cnams_site/english/generic_site_areas/library/course_catalog/PTSoftwareDownloads_Students.html
It is a tar.gz file. I extracted it from the terminal and succesfully ran the install file. I had to read the licence first then it started to install. I got a message "packet tracer succesfully installed" but i don't know how do i run it. I found a file in usr/local/bin/ named packettracer. I set the permissions to able to run it. When i tried to run or run from terminal options nothing happend
Sent from my GT-I9100 using xda premium

Well, if I remember correctly the Ubuntu port is heavily stripped down and lots of things are disabled. You'd be better off installing a full Ubuntu on your PC, sorry.

Thank you. I just wanted to flashing with my phone My pc runs win7
Sent from my GT-I9100 using xda premium

Any idea?
wanam v10 siyah v3b7 ttalk

Bump
wanam v10.6 siyah v3rc2 ttalk

Related

APK installer for Mac OS X??

Is there a SIMPLE gui apk installer on mac??
I used to use "Droid Explorer" and "Android Commander" on windows.
Any help?
well.. besides just draggin an apk to the sdk card and launching it with a file explorer to install, you can use adb to easily push and install an app from your mac to your computer.
download the android sdk.
open the terminal and navigate to where adb is and
Code:
./adb install <path_to_apk>
easy!
http://developer.android.com/guide/developing/tools/adb.html#move
killersnowman said:
well.. besides just draggin an apk to the sdk card and launching it with a file explorer to install, you can use adb to easily push and install an app from your mac to your computer.
download the android sdk.
open the terminal and navigate to where adb is and
Code:
./adb install <path_to_apk>
easy!
http://developer.android.com/guide/developing/tools/adb.html#move
Click to expand...
Click to collapse
Thanks for your reply. It's the method that I know man, but it's not as easy as double clicking any .apk file and clicking "install" (as in Droid Explorer for windows)
yea its seems that most of the good front ends and guis for the android tools are all made for windows.. ive used a mac the entire time ive had an android phone and i havent seen much osx love in terms of guis (with the exception of some rooting app.)
That's because everything can be done via command prompt
Sent from my ThunderBolt using XDA Premium App
chriskader said:
That's because everything can be done via command prompt
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
yep. i was gonna say its because it has a real unix terminal but i thought it would arouse fan boys
killersnowman said:
yep. i was gonna say its because it has a real unix terminal but i thought it would arouse fan boys
Click to expand...
Click to collapse
LOL... true
hi I am on a mac running lion. I need a little help please with how to use adb to reinstall all my apk's back to my tel.
I seem to have been reading and reading but can not figure out the code to write in the terminal line.
I have my apps stored on my Desktop, in a folder called. backupapps
( the apps I am backing up are apps i have bought from the market)
I want to install them all at one time
can some one give me the adb code to install all files in my backup folder to my galaxy s2 tel. please
thanks
Plug your phone into the pc, enable USB Storage mode, copy apps to storage card. Use a program like root explorer or es explorer (my personal fav) and install the apps from there. Es Manager and Titanuim backup has nice application backup features. If you really want to use adb: adb install <path to apk> or try the cross platform QTadb application
This might help you
It will allow you to install your APK if you double click it and your phone is connected (debug mode enabled)
http://www.droidsector.com/blog/2010/06/23/easy-way-to-install-apk-files-using-android-sdk-for-mac/
I created the app successfully
Use airdroid,wireless management for any droid,it-s free apk,and web based.i'm using lion,and working ok.before i find'it i've used droidexplorer from vmware windows..very uncovenient way.
Sent from my X10i using XDA
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
Application you want found
You can use apkInstaller Application in mac.
It has GUI.
It's here:
macupdate.com/app/mac/55546/apkinstaller

Im going CRAZY trying to root!

Heres the deal. I have a MAC with a newly installed hard drive. On my old hard drive I had everything setup with SDK and Adb but that was when I had an HTC Hero. My problem is this: When in terminal my damn computer keeps prompting me for a password but it doesnt allow me to type anything except control C which aborts the program. It never was like that with the old hard drive.
2. Ive dl SDK for MAC unzipped it and saved it to my desktop and my hard drive.
3. When I click on tools it says "adb_has_moved.txt"
4. It says the adb tool has moved to platform-tools/ and if you dont see this directory in your SDK, launch the SDK and AVD manager and install "android SDK Platform-tools and also update my path environment variable to include the platform-tools/ directory, so I can execute adb from any location. What the heck does this mean and how do I fix it. Also how do I know if SDK is installed correctly.
5. I DL some version of eclipse that was recommended from SDK but I dont know how to use that either.
6. I have tried all the root methods shown here in XDA except the on with the Dock since I dont have a dock.
7. Also ADB does not recognize my device and my debug is selected. I cannot get it to find my device.
8. One last question when some instructions say unzipped and move the root exploit to /data/tmp/ is that the file labeled under sdcard/data or is it the one inside the Android Folder listed as "data"
Please anyone help if possible.
let me try that
Stupid question but How do I launch SDK?
laraiza said:
Stupid question but How do I launch SDK?
Click to expand...
Click to collapse
Make sure your phone has USB Debugging Mode enabled. Otherwise, adb will not recognize your device.
Check this thread: http://forum.xda-developers.com/showthread.php?t=879701
However, you will have to modify for MAC.
In my opinion the easiest way to root the Photon is still using the dock method. Otherwise, try the One Click Root method (Torpedo) as mentioned above. Then you don't have to worry about issuing all the commands.
I got it done I got it done. What I did was borrow my daughters windows netbook and the one click method worked on the first try. Thanks to all who replied. I will definitely hit your thanks buttons.
Sent from my MB855 using XDA App
im sorry.. my tool was a one click i dint think i needed to give it instructions.. especially teh part of how to run it on your computer... just fyi.. when invoking sudo (to do things as admin/root) on your computer. you are asked to enter in your password.. as a privacy/security feature it will NOT display any characters.. ergo it looks blank...
as you arent teh first one to run into this issue ill add instructions for mac users ( i know anyone running linux can figure out how to run a bash script, and windows users have a bat file after installing 209387249087 drivers... but they still figure it out ;P)

Mtp on ubuntu?

Can anyone have the solution for working mtp on ubuntu 12.04 ...
I already install mtp library and doesn't work...
I used jb aokp build 4 and dorimanx kernel 5.86b4..
Thank you for your help
Sent from my GT-I9100 using xda premium
arief347 said:
Can anyone have the solution for working mtp on ubuntu 12.04 ...
I already install mtp library and doesn't work...
I used jb aokp build 4 and dorimanx kernel 5.86b4..
Thank you for your help
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I dunno whether it works on build 4, but if you have exTweaks, you can enable the mtp option from there. That works with 12.04
HAXTREME said:
I dunno whether it works on build 4, but if you have exTweaks, you can enable the mtp option from there. That works with 12.04
Click to expand...
Click to collapse
Thank you, gonna try soon
Sent from my GT-I9100 using xda premium
Still not work mtp on ubuntu...any other advice?
Sent from my GT-I9100 using xda premium
Easy solutions
arief347 said:
Still not work mtp on ubuntu...any other advice?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
There are solutions available, that I am using on a daily basis:
1. first thing: ADB via Terminal
The Android SDK includes a few comandline tools. One of these is adb (Android Debug bridge) which has a few commands included,
Just to name a few: push (sent), pull (copy from device to pc/laptop), backup (user data with or without sdcard) and a few more like shell = remote terminal access to device.
Install it by: (without "")
"sudo apt-get install android-tools-adb"
then: "adb devices" and you should see your device as something like "09A48348HHHF1"
then sent (push) or copy (pull) files with "adb push /home/USER/downloads/1.avi /sdcard" or adb pull /sdcard/movie.avi /home/USER/downloads"
to see the files included in a folder type : "ls" or "ls- la"
2. Use ADB via Graphical frontend: e.g. the ADBfileexplorer by DareT0Be (THX a lot and all credits to you)
http://forum.xda-developers.com/showthread.php?t=1821601
It's written in JAVA and can be executed on every device running java theoretically (Ubuntu, Windows, MacOSx,....)
A little trick is written at the end of the first page to execute it. I wrote a script to run it easily:
#!/bin/bash
DIRECTORY=/home/USER/Downloads
$1 cd $DIRECTORY
$2 java -Xmx512m -jar adbfileexplorer.jar
echo $1
echo $2
Save it: Once again via terminal: "gedit SCRIPTNAME.sh" copy and paste it, change Directory to the directory of adbfileexplorer. save it.
Make it executable: sudo chmod 771 adbfileexplorer.sh
Create an alias at your desktop or where ever to easily open it.
3. USE google to find the MTP scripts and mounting solutions - Which I don't use.
If that helped YOU hit the thanks button.

Debian Linux for Xperia

Ok, here is my Debian Squeeze bootstrap for armel architecture and is tested on my Xperia Go. Port contain a lot of installed things like compilers, libraries, programers languages, desktop enviroment, tight vnc server, openssh server... so everything that can be used like in desktop computer...
Warning:
Only stock rom files is safe and nothing "custom" is safe! You doing everything on your own risk! So you can play with Debian on your own risk!
How to install:
first, you need to have rooted phone! You need "su" installed! Busybox is needed too! Terminal emulator too!
extract Xperia_Debian.rar to your external sd card. You need min 4gb free disk space on your external sd card!
using adb tool perform next steps:
adb remount
adb push bootdeb /system/bin/bootdeb
adb shell chmod 6755 /system/bin/bootdeb
How to boot debian:
open terminal emulator and type "su" and press enter. You must see "#"
type "bootdeb" and press enter
You can see log on terminal emulator and if all is ok you are now in Debian
Optional things:
You can start ssh server by command "/etc/init.d/ssh start" and you can install WinSCP + Putty on your computer to get remote acces to your Debian like: WinSCP for remotelly browsing/uploading/deleting...etc and Putty for remote secure shell (ssh) access.
Username for ssh access is: user: root, password: password. You can change password by command "passwd your_password_here"
You can install vnc client on your computer for remote desktop connection to Debian (just you need to start vncserver on Debian with proper screen size geometry for example "vncserver -geometry 1024x768")
You can install vnc on your android (android vnc viever) to get remote desktop connection from your android.
You can install Debian to for example usb stick, but you need to modify (path to external usb disk) bootdeb script!
Warning:
When you start terminal emulator and you start Debian than do not close terminal emulator!!! If you close terminal emulator than Debian partition is not unmounted so there is posibility for Debian image coruption + coruption on userdata partition! So allways before closing terminal emulator (after starting Debian) you must type "exit" so Debian partition will be safely unmounted and Debian stopped!
do not perform long operations like git clone big pproject...etc because ram memory is not enought and sometimes Debian freze... I created 300mb swap but still swap is allways free so I think maybe kernel have no enabled swap support? I can see zram support in ICS kernel but its about ~50mb so maybe someone can/need to increase zram size to get our Debian stable!
Download link:
Xperia_Debian.rar
munjeni said:
Anyone interested? Let me know!
Click to expand...
Click to collapse
What the hell is that???
N y is this in development section
Sent From Xperia Sola White (MT27i)
Rooted Stock ICS
Hit Thanks If I Helped!!
Me.....
Yes, yes, yes...
definitely YES. Maybe not only Debian ? Ubuntu? Firefox OS?
Thread moved to General section.
Firefox OS would be VERY nice!
Is it possible to run that native?
Sent from my LT22i using xda app-developers app
Debian ? sounds cool ? is it possible ?
It's already existing. Look for "Linux Installer" on the market. It's running from an image via loopback device and VNC. So you don't even need to flash anything, works on standard Image.
I had Debian (I think it was LXDE DE) running. Ubuntu also available.
Pretty nice to show to someone, but I would not work with it. I deleted the image cause it wasted several GB on flash memory.
Interested.
Sent from my LT26i using xda app-developers app
Of course all of us say YES
DeJe63 said:
It's already existing. Look for "Linux Installer" on the market. It's running from an image via loopback device and VNC. So you don't even need to flash anything, works on standard Image.
I had Debian (I think it was LXDE DE) running. Ubuntu also available.
Pretty nice to show to someone, but I would not work with it. I deleted the image cause it wasted several GB on flash memory.
Click to expand...
Click to collapse
Yes I use the same principe (it runing under android in loop) but I prepared/installed a lot of things like compilers... etc... its about 4gb ext2 image...
Ok I will share it and it will be in zip (installable trought recovery) ! Will try to include everything like VNC viewer...etc
I am interested.
What about the official Ubuntu for android project?
http://www.ubuntu.com/devices/android
My wet dreams are about that.
so much yesss please do
is it laggy??
i would love it but sadly with xpetia u i need a smaller image... 4gb are too many. anyway thanks for doing it
Sent from my ST25i using xda app-developers app
What about to be installable on USB Stick,just put USB on phone and run it.
Sent from my ST25i using xda app-developers app
I had old Debian Leny bootstraped, it was for HTC HD Mini, I got it runing on Xperia but it not worked good, so yesterday I created new debian.ext2 image (4gb), its bassed on latest stable Debian Squeeze, it contain installed: full desktop enviroment, a lot of compilers and libraries...etc. I tried to make an zip installer but zip could not accept larger files so it will be rar archive: debian.ext2 + bootscript, you need to install all that manually! Allso you need 4gb free space on your external sd card or maybe it will be runing from external usb disk (you need to modify bootdeb script)? Today I going to start uploading ...see first post!
Xperia_Debian.rar
Enjoy!

[Q] How to get the installed package from ubuntu

please anyone tell me how to get the installed applications from ubuntu
i mean how to get their installers from ubuntu to use them in another pc
for eg i installed vlc player from internet by apt-get command
and i need its installer ,from which directory i get it
reply me iam new to ubuntu but familar with windows
roshan77ss said:
please anyone tell me how to get the installed applications from ubuntu
i mean how to get their installers from ubuntu to use them in another pc
for eg i installed vlc player from internet by apt-get command
and i need its installer ,from which directory i get it
reply me iam new to ubuntu but familar with windows
Click to expand...
Click to collapse
Well, you can just use apt-get on the other PC?
Apt-get downloads .deb packages including all dependencies. Any system that can install .deb files should also support apt-get, or is there a reason you can't use that?
If you download and manually install a .deb file, you have to download and install all dependencies too.
Sent from my TF300T using Tapatalk
offline installer
f69m said:
Well, you can just use apt-get on the other PC?
Apt-get downloads .deb packages including all dependencies. Any system that can install .deb files should also support apt-get, or is there a reason you can't use that?
If you download and manually install a .deb file, you have to download and install all dependencies too.
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
i need offline installer of applications,so that i will use it later on another freshly installed ubuntu
is there any way to get offline installer like in windows?
roshan77ss said:
i need offline installer of applications,so that i will use it later on another freshly installed ubuntu
is there any way to get offline installer like in windows?
Click to expand...
Click to collapse
No, there is not a single installer for most applications. Instead there are lots of separate .deb packages and installing one application typically requires installing several of those .deb packages.
That's where apt-get comes in: it figures out all the .deb packages needed for your application, checks what is already installed and then downloads and installs the rest. Doing this manually is far from easy, especially as the list of packages previously installed may differ from PC to PC.
That said, you can find the .deb packages recently downloaded in:
/var/cache/apt/archives/
Sent from my TF300T using Tapatalk
any way to bind
f69m said:
No, there is not a single installer for most applications. Instead there are lots of separate .deb packages and installing one application typically requires installing several of those .deb packages.
That's where apt-get comes in: it figures out all the .deb packages needed for your application, checks what is already installed and then downloads and installs the rest. Doing this manually is far from easy, especially as the list of packages previously installed may differ from PC to PC.
That said, you can find the .deb packages recently downloaded in:
/var/cache/apt/archives/
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
thanks for reply but is there any way to pack those .deb packages in a single file
so that it works as installer
roshan77ss said:
thanks for reply but is there any way to pack those .deb packages in a single file
so that it works as installer
Click to expand...
Click to collapse
I guess you could ZIP them up and add a shell script that runs dpkg -i for each of them, but I don't recommend it. The other PC might need additional .debs or have some of them already installed.
Sent from my TF300T using Tapatalk
Thanks
f69m said:
I guess you could ZIP them up and add a shell script that runs dpkg -i for each of them, but I don't recommend it. The other PC might need additional .debs or have some of them already installed.
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
okay i understand now it is difficult to run ubuntu without internet
thanks for reply it help me alot.
roshan77ss said:
okay i understand now it is difficult to run ubuntu without internet
thanks for reply it help me alot.
Click to expand...
Click to collapse
Well, it is hard to use without a package repository. You can burn one on DVD and use it with apt-get or use a mirror in your LAN. Internet is not really needed, but by far the easiest.
Sent from my TF300T using Tapatalk

Categories

Resources