Jump to content

connect android to linux


Recommended Posts

Guest Phoenix Silver
Posted

i have a wifi usb adaptator in my linux box ip adress 192.168.0.13

wifi adaptator masquaraded to ethernet interface connected to internet (anyway this side part is easy and don't concern the topic)

i have settled android phone with ip adress 192.168.0.14 under advanced wifi parameters

the only thing needed to tether my android phone through pc is to connect android 192.168.0.14 to wifi 192.168.0.13

i precise that i can't use essid and so on because pc's wifi interface is not a hotspot

P.S. : i can start a windows 7 in a virtualbox and transform the wifi interface into a hotspot with connectify but i find it's a very heavy way tongue.gif

i would want a 100% linux solution tongue.gif

P.P.S : i have taken a look in /system/etc/wifi but don't really help

any ideas guys ? apk which can do it ? settings ?

sorry for the double post but i think correct place is here

Guest fonix232
Posted

I guess you need an app on your Linux box what creates the virtual hot-spot (if I got you right, you have a WiFi connection on your box, but it is detected as LAN by a lil' hack, and want to share it to the phone). What Linux are you using?

Guest Phoenix Silver
Posted

i have fedora and ubuntu

do you know an app ??

i didn't found one

Posted

I'm sure I answered this yesterday, but you need to set up hostapd, do a google search & it'll tell you how.

Guest Phoenix Silver
Posted

hostpad is not compatible with ralink drivers (i have rt3070) ;)

or i didn't have found how to make this

Guest Phoenix Silver
Posted (edited)

i have found the solution it's an application called airbase-ng

the 3 commands are

airmon-ng start wlan0 channel-number

airbase-ng wlan0 essid-name

app create an AP interface at0

ifconfig at0 up

bridge at0 to eth0

dhcp deamon to at0

that's all enjoy

how do you edit the topic to solved ?

Edited by Phoenix Silver

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.