sharing internet over wifi between ubuntu and android _ geek peek
TRANSCRIPT
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
1/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 1/12
Posted by vineethkartha
GEEK PEEK
My works and thoughts
Sharing Internet over Wifi Between Ubuntu
and Android
SEP 19
5
0
i
Rate This
I searched the internet alot for a solution to connect my PCs internet to my android phone by creating ahotspot. In windows you have softwares like connectify to make your life easy, But in linux things are not
so easy, and I was nevera windows guy. I hated to logon to windows just to share the internet over wifi to
my android phone. I spend many sleepless nights trying to configure hostapd in Ubuntu and make it
connect to my Android. And finally after days of searching and experimenting that wonderful day of bliss
occurred to me. I have combined information I received from various sites in this post.
Initially when I shared my problem in certain groups I got the advice to set up an ad-hoc wifi network in
ubuntu, but Android 2.3 and lower versions do not detect ad-hoc network so that means you either have to
root your phone and ad the necessary features or you have to go for an alternative way.
I was definite that there will be an alternative because in windows there are softwares like connectify that
do the job, and in linux we have hostapd.
So let me get directly to the point.
Open a terminal and type
#lspci
It will show the network adapter available to you.
http://thebeautifullmind.com/author/vineethkartha/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/http://thebeautifullmind.com/http://thebeautifullmind.com/author/vineethkartha/ -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
2/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 2/12
#lsmod
Shows that it uses the ath9k drivers (this information may help you to google for setup information specific
to your machine.)
Also
#iwconfig
will give you the name of your wireless adapter like wlan0. Please notedown this name as you will be
needing it later on.
Now its time to install the packages.
Either fire up the ubuntu software center and install hostapd and dhcp3-server, or fire up the terminal and
type
#sudo apt-get install dhcp3-server#sudo apt-get install hostapd
After this is done we have some serious editing to do so create a backup of all the files that are being
edited.
In a terminal:
#sudo gedit /etc/hostapd/hostapd.conf
When the file is opened make the contents of the file as below.
interface=wlan0driver=nl80211ssid=geekpeekchannel=1hw_mode=gauth_algs=1wpa=3wpa_passphrase=12345678wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMPrsn_pairwise=CCMP
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
3/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 3/12
In this file we have declared that our wifi hotspot will be called geekpeek, it is using the adapter wlan0, and
it should have a password which the connecting device has to enter. Save the file.
Next
#sudo gedit /etc/default/isc-dhcp-server
Edit the line that says
INTERFACES="
To
INTERFACES=wlan0
Then edit
#sudo gedit /etc/dhcp/dhcpd.conf
Make sure the follow lines are Commented out ( put a hash # sign at the beginning of the line ) the
following lines:
# option definitions common to all supported networks...#option domain-name example.org;#option domain-name-servers ns1.example.org, ns2.example.org;#default-lease-time 600;#max-lease-time 7200;
Add the following lines to the file (copy and paste)
subnet 10.10.0.0 netmask 255.255.255.0 {range 10.10.0.2 10.10.0.16;option domain-name-servers 8.8.4.4, 8.8.8.8;option routers 10.10.0.1;}
Here we have specified the IP of our PC as 10.10.10.1 and 15 other PCs with addresses ranging from10.10.0.2 to 10.10.0.16 can be connected to your PC.
Next edit
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
4/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 4/12
#sudo gedit /etc/network/interfaces
This is how my interfaces file looks:
To whatever is existing in the file add,
auto wlan0iface wlan0 inet staticaddress 10.10.0.1netmask 255.255.255.0
At this stage you can reboot. And hopefully any device / laptop should connect to your wifi hotspots
network via the network manager applet. On these devices search for the network geekpeek and type in
the password.
To Connect to the internet we have some more procedures to follow.
In a terminal type:
#ifconfig
It will display the adapter name being used for connecting to the internet. I was using the LAN so my
adapter name was eth0, if you are using modems then it might be ppp0
First we have to allow ip forwarding:
#sudo gedit /etc/sysctl.conf
Make sure the following line is uncommented and reads
net.ipv4.ip_forward=1
Save and close gedit. (reboot)
After reboot: Connect to the Internet and In a terminal type:
#sudo gedit /etc/rc.local
add this line just before exit 0
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
5/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 5/12
iptables -t nat -A POSTROUTING -s 10.10.0.0/16 -o ppp0 -j MASQUERADE
Then reboot the system.
The eth0 should be changed to whatever adapter you are using.
Once this is done you can make other laptops connect to to youe new wifi hotpsot by assingning them IP
addreses in the range of 10.10.0.2 to 10.10.0.16
To make and Android detect your wifi hotspot.
Goto the wifi settings
(https://reader008.{domain}/reader008/html5/0418/5ad6b5ba4a4eb/5ad6b5bd93
(https://reader008.{domain}/reader008/html5/0418/5ad6b5ba4a4eb/5ad6b5bdeee3d.png)
press the options key ( the left most key)
Select Advanced>Use Static IP
(https://reader008.{domain}/reader008/html5/0418/5ad6b5ba4a4eb/5ad6b5be51
Give the IP address as something between 10.10.0.2 to 10.10.0.16
Gateway the same IP as your PC, In this case it is 10.10.0.1
Netmask as 255.255.255.0
DNS1 as 8.8.4.4
DNS2 as 8.8.8.8
http://vineethkartha.files.wordpress.com/2012/09/scr4.pnghttp://vineethkartha.files.wordpress.com/2012/09/scr2.pnghttp://vineethkartha.files.wordpress.com/2012/09/scr1.png -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
6/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 6/12
(https://reader008.{domain}/reader008/html5/0418/5ad6b5ba4a4eb/5ad6b5c048
Once this much has been set your android phone should be able to
connect to your wifi hotspot and you can access the internet connection
on your PC through your phone.
Now when you turn on your PC go to terminal and type
#sudo hostapd /etc/hostapd/hostapd.conf
Now I have made an application in Qt4 that provides a GUI to turn on
and off the wifi Hotspot, You can get it from the download
(http://vineethkartha.wordpress.com/downloads/) section
References
http://thenewbieblog.wordpress.com/2012/05/01/wifi-hotspot-setup-on-ubuntu/
(http://thenewbieblog.wordpress.com/2012/05/01/wifi-hotspot-setup-on-ubuntu/)
http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/
(http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/)
About vineethkartha
I am an Electrical and Electronics Engineer at Siemens India Ltd. Graduated from Govt Engg. College,
Barton Hill. A free software promoter and electronics hobbyist. I love C programming and have authored
a book "Thats How We C". Besides these my hobbies are cooking , Glass Painting and reading
View all posts by vineethkartha Posted on September 19, 2012, in Technical and tagged android, GUI, hostapd, hotspot, ubuntu, wifi.
Bookmark the permalink. 18 Comments.
Leave a Comment
Comments (18)
About these ads (http://en.wordpress.com/about-
these-ads/)
http://en.wordpress.com/about-these-ads/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#commentshttp://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#respondhttp://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#commentshttp://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/http://thebeautifullmind.com/tag/wifi/http://thebeautifullmind.com/tag/ubuntu/http://thebeautifullmind.com/tag/hotspot/http://thebeautifullmind.com/tag/hostapd/http://thebeautifullmind.com/tag/gui/http://thebeautifullmind.com/tag/android/http://thebeautifullmind.com/category/technical/http://thebeautifullmind.com/author/vineethkartha/http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/http://thenewbieblog.wordpress.com/2012/05/01/wifi-hotspot-setup-on-ubuntu/http://vineethkartha.wordpress.com/downloads/http://vineethkartha.files.wordpress.com/2012/09/scr5.png -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
7/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 7/12
Jerrin Shaji George | September 21, 2012 at 12:05 pm
Great post
In the dhcpd.conf file, you missed an 8 in the google DNS.
vineethkartha | September 28, 2012 at 7:21 am
Thank you Jerrin for finding out the mistake
Jose manuel|November 25, 2012 at 1:10 pm
hello
I have this error when typing in the terminal sudo hostapd / etc / hostapd / hostapd.conf
Configuration file: / etc / hostapd / hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock = 4 eloop_data = 0x9e41900 user_data = 0x9e41ea0 handler =
0x807c5e0
ELOOP: remaining socket: sock = 6 eloop_data = 0x9e43ca8 user_data = (nil) handler = 08086770
I followed the tutorial and I can connect from my android to my laptop with these 2 ip addresses off
10.10.0.1 (wlan0) and 192.168.0.100 (eth0) but can not get the internet to work on my android and not
on my laptop
Thanks for any help you can give me
vineethkartha |November 29, 2012 at 11:06 pm
Dear friend, if my knowledge is correct, not all drivers support the Access Point (AP) Mode. so this
might be one reason for the error
Surajit| December 29, 2012 at 4:21 am
Hi,
I followed your tutorial, and everything has gone fine unless the last step.
When I hit enter after writing
sudo hostapd /etc/hostapd/hostapd.conf
it gives me the error
Configuration file: /etc/hostapd/hostapd.conf
nl80211: nl80211 generic netlink not found
nl80211 driver initialization failed.
And after that I checked my network manager applet and noticed that the wireless device is now
showing not managed.
my iwconfig returns
lo no wireless extensions.
http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-207http://bhakta/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-201http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-200http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-186http://fossatgecb.wordpress.com/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-184http://www.facebook.com/jerrinsg -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
8/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 8/12
eth1 IEEE 802.11bg ESSID:"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:24 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
and I changed wlan0 to eth1.
I am using Ubuntu 12.04. Can you tell me what I have missed and what to check and what should I
check on those first two commands.
vineethkartha | December 30, 2012 at 10:53 am
Dear FriendSorry for the delay
This is how you can solve this issue
Go to the termional and type
sudo gedit /etc/NetworkManager/NetworkManager.conf
Then change the line managed=false to managed=true
sudo service network-manager restart
http://askubuntu.com/questions/71159/network-manager-says-device-not-managed This link mightgive you better help
Gelo | January 15, 2013 at 7:13 am
Thank you. Very good job.
After following the described steps I cant yet connect with my Samsung Galaxy S to Internet using my
laptops WIFI.
Ive made only one change on the instructions:
put eth0 instead ppp0 in the line
iptables -t nat -A POSTROUTING -s 10.10.0.0/16 -o ppp0 -j MASQUERADE
$iwconfig
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Ad-Hoc Frequency:2.412 GHz Cell: Not-Associated
Tx-Power=16 dBmRetry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo no wireless extensions.
http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-212http://askubuntu.com/questions/71159/network-manager-says-device-not-managedhttp://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-208http://fossatgecb.wordpress.com/ -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
9/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 9/12
eth0 no wireless extensions.
$lsmod
Module Size Used by
xt_state 12514 0
ipt_REJECT 12485 0
xt_tcpudp 12531 0
iptable_filter 12706 0
nf_nat_h323 12809 0
nf_conntrack_h323 51810 1 nf_nat_h323
nf_nat_pptp 12536 0
nf_conntrack_pptp 13553 1 nf_nat_pptp
nf_conntrack_proto_gre 13580 1 nf_conntrack_pptp
nf_nat_proto_gre 12671 1 nf_nat_pptp
nf_nat_tftp 12420 0
nf_conntrack_tftp 12817 1 nf_nat_tftp
nf_nat_sip 16945 0
nf_conntrack_sip 24467 1 nf_nat_sip
nf_nat_irc 12542 0
nf_conntrack_irc 13112 1 nf_nat_irc
nf_nat_ftp 12548 0
nf_conntrack_ftp 13106 1 nf_nat_ftp
ipt_MASQUERADE 12663 1
iptable_nat 12977 1
nf_nat 20316 9nf_nat_h323,nf_nat_pptp,nf_nat_proto_gre,nf_nat_tftp,nf_nat_sip,nf_nat_irc,nf_nat_ftp,ipt_MASQUE
RADE,iptable_nat
nf_conntrack_ipv4 14080 3 iptable_nat,nf_nat
nf_conntrack 66307 18
xt_state,nf_nat_h323,nf_conntrack_h323,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_n
at_tftp,nf_conntrack_tftp,nf_nat_sip,nf_conntrack_sip,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_connt
rack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 12649 1 nf_conntrack_ipv4
ip_tables 17791 2 iptable_filter,iptable_natx_tables 21898 7
xt_state,ipt_REJECT,xt_tcpudp,iptable_filter,ipt_MASQUERADE,iptable_nat,ip_tables
bnep 17707 2
rfcomm 37276 0
bluetooth 183228 10 bnep,rfcomm
parport_pc 31968 0
ppdev 12817 0
snd_hda_codec_hdmi 31423 1
snd_hda_codec_realtek 63493 1
sp5100_tco 13417 0
arc4 12473 2
joydev 17161 0
kvm_amd 54394 0
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
10/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 10/12
kvm 357806 1 kvm_amd
hid_generic 12445 0
acer_wmi 27586 0
sparse_keymap 13658 1 acer_wmi
mxl5005s 45855 1
snd_seq_midi 13132 0
snd_rawmidi 25382 1 snd_seq_midi
microcode 18209 0zl10353 17563 1
ath9k 116557 0
dvb_usb_ce6230 13133 0
snd_hda_intel 32515 5
dvb_usb 23606 1 dvb_usb_ce6230
dvb_core 98654 1 dvb_usb
snd_hda_codec 111547 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13272 1 snd_hda_codec
rc_core 21266 1 dvb_usbuvcvideo 71277 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51255 2 snd_seq_midi,snd_seq_midi_event
videobuf2_core 32070 1 uvcvideo
mac80211 461161 1 ath9k
videodev 95841 2 uvcvideo,videobuf2_core
videobuf2_vmalloc 12756 1 uvcvideo
ath9k_common 13783 1 ath9k
snd_pcm 80163 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
psmouse 84843 0
videobuf2_memops 13184 1 videobuf2_vmalloc
usbhid 41702 0
serio_raw 13031 0
snd_seq_device 14137 3 snd_seq_midi,snd_rawmidi,snd_seq
ath9k_hw 376155 2 ath9k,ath9k_common
ath 19187 3 ath9k,ath9k_common,ath9k_hw
cfg80211 175375 3 ath9k,mac80211,ath
hid 82142 2 hid_generic,usbhid
snd_timer 24411 2 snd_seq,snd_pcmi2c_piix4 12983 0
k10temp 12958 0
shpchp 32189 0
snd 61991 20
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_rawmidi,snd_hda_intel,snd_hda_codec,snd_hwdep,
snd_seq,snd_pcm,snd_seq_device,snd_timer
radeon 820734 4
ttm 75534 1 radeon
drm_kms_helper 47303 1 radeondrm 238768 6 radeon,ttm,drm_kms_helper
soundcore 14599 1 snd
i2c_algo_bit 13197 1 radeon
snd_page_alloc 14036 2 snd_hda_intel,snd_pcm
-
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
11/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/ 11/12
wmi 18590 1 acer_wmi
mac_hid 13037 0
video 18847 1 acer_wmi
lp 13299 0
parport 40753 3 parport_pc,ppdev,lp
ums_realtek 17669 0
uas 17556 0
pata_atiixp 12999 0atl1e 32271 0
usb_storage 39350 4 ums_realtek
I would appreciate some help.
Thanks.
vineethkartha | January 15, 2013 at 4:19 pm
Please do give me some time to look into the issue as I am caught up with other work, I will lookinto it as soon as I can.
effepi| April 4, 2013 at 3:09 pm
My Pc with Ubuntu share my home internet connection with Android, but not if the connection is
through a company lan with firewall at predefined gateway. Can you give me help? Thanks.
vineethkartha | April 8, 2013 at 6:12 am
It must have something to do with the firewall settings. If your company policies are Liberal
enough ask your system admin
effepi| April 8, 2013 at 1:29 pm
I can surf the Internet on the PC through firewall using my credentials, but on the smartphone I
dont see the form to login.
abhishek khandal| April 8, 2013 at 1:56 pm
You can get the login form on your smartphone at the address 192.168.1.1 or 192.168.0.1 maybe.
effepi| April 8, 2013 at 3:35 pm
The smartphone ping the IP of PCs wlan interface, but not the ethernet (lan with static IP).
Thanks
abhishek khandal| April 7, 2013 at 8:50 pm
Hi vineeth
I followed all your mentioned steps,my HTC explorer connects to the network made,but the Internet
does not work,I cant browse internet or anything which requires internet.
I did everything mentioned in your post.I am using Ubuntu 12.04 LTS and my HTC explorer is on the
stock ROM(not rooted).
I router is Nokia Siemens residential router 1600
I even have an inbuilt wireless adapter,but do not know which is it.Well,if this does not workout,I actually want to use WiFi to use internet on my mobile,but my router
http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-240http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-246http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-245http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-243http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-242http://fossatgecb.wordpress.com/http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-238http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-213 -
7/27/2019 Sharing Internet Over Wifi Between Ubuntu and Android _ GEEK PEEK
12/12
21/05/13 Sharing Internet over Wifi Between Ubuntu and Android | GEEK PEEK
reboots whenever I connect my phone to it,possible bcoz of IP address conflicts,as it used to connect
to my ubuntu via wired and even by wireless,both.
Hoping for a quick reply.
Thanks,
Abhishek
vineethkartha | April 8, 2013 at 6:08 am
Hi abhishek,
if your router has a wireless adapter than why do you want to share net via you PC why dont you
connect your phone directly over wifi to your phone?
Abhishek khandal| April 8, 2013 at 1:46 pm
I have the Nokia Siemens wifi router,I have a wireless adapter in my CPU cabinet,and I have
this wireless option in my ubuntu which use this wireless adapter to connect to wifi by the
nokia wifi router.
The prob. is whenever I connect my phone to the the router to access internet,it reboots,possibly
bcoz of IP conflicts,but wired and wireless connection simultaneously connected works onUbuntu,there is no IP conflict problem on my PC,it is only on my HTC.
I tried your method to make use of wireless adapter or router to make it as a hotspot to which I
can connect my HTC to use internet,is there any other way possible where I do not have to root
my phone?
Thanks a ton
James | April 24, 2013 at 2:19 am
Not working for me. My phone gets stuck at the obtaining ip address.
This is what is in terminal
Using interface wlan0 with hwaddr 00:c0:ca:2f:a6:dd and ssid geekpeek
wlan0: STA 28:98:7b:64:5e:5c IEEE 802.11: authenticated
wlan0: STA 28:98:7b:64:5e:5c IEEE 802.11: associated (aid 1)
wlan0: AP-STA-CONNECTED 28:98:7b:64:5e:5c
wlan0: STA 28:98:7b:64:5e:5c RADIUS: starting accounting session 5176F1B0-00000000
wlan0: STA 28:98:7b:64:5e:5c WPA: pairwise key handshake completed (RSN)
wlan0: AP-STA-DISCONNECTED 28:98:7b:64:5e:5c
wlan0: STA 28:98:7b:64:5e:5c IEEE 802.11: disassociatedCould not set station 28:98:7b:64:5e:5c flags for kernel driver (errno=11).
wlan0: STA 28:98:7b:64:5e:5c IEEE 802.11: authenticated
wlan0: STA 28:98:7b:64:5e:5c IEEE 802.11: associated (aid 1)
wlan0: AP-STA-CONNECTED 28:98:7b:64:5e:5c
wlan0: STA 28:98:7b:64:5e:5c RADIUS: starting accounting session 5176F1B0-000000
James | April 24, 2013 at 2:27 am
Ok got it to connect but no internet.
Blog at WordPress.com. Theme: Mystique by digitalnature.
http://digitalnature.eu/http://theme.wordpress.com/themes/mystique/http://wordpress.com/?ref=footerhttp://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-259http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-258http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-244http://thebeautifullmind.com/2012/09/19/sharing-internet-over-wifi-between-ubuntu-and-android/#comment-241http://fossatgecb.wordpress.com/