Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Ad-Hoc Tethering for iPhone on Ubuntu
is a discussion within theiPhone Linux
forums, a part of theiPhone / iPod Touch SDK | Development Discussion
section;I'm working on a way to get this to work. I will post the results and updates to get this working. I'm using a Dell Inspiron 1501 dual booting with
...-
11-23-2008, 08:19 AM #1Livin the iPhone Life
- Join Date
- Aug 2008
- Location
- New Jersey
- Posts
- 1,066
- Thanks
- 1
- Thanked 115 Times in 78 Posts
Ad-Hoc Tethering for iPhone on Ubuntu
I'm working on a way to get this to work. I will post the results and updates to get this working.
I'm using a Dell Inspiron 1501 dual booting with Windows Vista.
Ubuntu v.8.04Android user suffering from iPhone withdraw.
-
11-25-2008, 08:30 AM #2iPhone? More like MyPhone
- Join Date
- Sep 2007
- Location
- NY
- Posts
- 121
- Thanks
- 17
- Thanked 12 Times in 11 Posts
-
11-25-2008, 04:59 PM #3Livin the iPhone Life
- Join Date
- Aug 2008
- Location
- New Jersey
- Posts
- 1,066
- Thanks
- 1
- Thanked 115 Times in 78 Posts
It's very easy to set it up on XP or Vista. If you need help getting that XP or Vista to work send me a PM and I'll send you instructions.
So far in ubuntu I have been able to get the wireless on my laptop to detect my iPhone but still no connnection.
I will also post screenshots of the process. Working on it now that I have the time.
I'll keep you guys posted.Android user suffering from iPhone withdraw.
-
11-25-2008, 07:33 PM #4
do you have the screenshots up yet?
-
11-29-2008, 02:57 PM #5Livin the iPhone Life
- Join Date
- Aug 2008
- Location
- New Jersey
- Posts
- 1,066
- Thanks
- 1
- Thanked 115 Times in 78 Posts
Ok I was supposed to post some screenies a long time ago but never got to it b/c it didn't work. I'm getting real close and I should have something up within the next 3 days.
Last edited by gQstatus05; 01-06-2009 at 07:35 AM.
Android user suffering from iPhone withdraw.
-
01-06-2009, 09:16 PM #6Livin the iPhone Life
- Join Date
- Aug 2008
- Location
- New Jersey
- Posts
- 1,066
- Thanks
- 1
- Thanked 115 Times in 78 Posts
Ok guys I was doing some work on this issue and I'm getting somewhere. So far I'm able to make an ad-hoc in Ubuntu 8.04. Running into a couple of things such as actually making the laptop connect to the ad hoc network. My iPhone detects the network I made in Ubuntu but before I can connect to it I have to find a way to make the laptop connect first. That's the major problem now.
Heres instruction for some of you guys in case you want to try it:
Step 1: Go to the Terminal(Applications->Accessories->Terminal) and type the following.
Step 2 : If you are planning to setup a wireless adhoc network then you first need to know which interface of yours is wireless.For this in the terminal type iwconfig and the interface which does NOT say "No wireless extensions" is the interface you need to you.Otherwise just choose your wired interface.In this example let it be eth1
Step 3 : Now you need to stop network manager and bring eth1 down by typing sudo /etc/dbus-1/event.d/25NetworkManager stop and sudo ifconfig eth1 down
Step 4 : Now you need to setup eth1 to adhoc mode for this type sudo iwconfig eth1 mode ad-hoc
Step 5 : Now enter in the channel you want to use.for example 6.for this type sudo iwconfig eth1 channel 6
Step 6 : Now enter in the name of the adhoc wifi network you want to create/join by typing sudo iwconfig eth1 essid 'anynameyouwish with the quotes!'
Step 7 : Its always better you secure your adhoc network with a password(in this case 12345) therefore you can create one by typing sudo iwconfig eth1 key 12345
Step 8 : Now bring back eth1 by typing sudo ifconfig eth1 up
Step 9 : (I don't think this step is necessary but you can try it)And give it an ip address(for example 192.168.0.1) by typing sudo ifconfig eth1 192.168.0.1
Here's some screenies:
After you follow those instructions type in iwconfig in the terminal to verify that you created an ad-hoc. You should see this:

If all goes well when you pull up your list of available networks you should see the adhoc you created in the list, mines being gq, here's a screenie

Ok I'll work some more on this tomorrow and post more screenshots, promise to keep the post up to date and consistant now that I have some time to mess around with this. Feel free to post any suggestions.Android user suffering from iPhone withdraw.




LinkBack URL
About LinkBacks
Reply With Quote
