NetworkManager query
I'm quiet new to Slackware and was wondering if NetworkManager could be used to act as a router. I want to connect my pc (with NetworkManager) to my Andriod phone via wifi and have my Ethernet card for other Pc's to connect to.
Thanks... |
Quote:
PC (with wifi) >-----> Android phone (with "tethering" capability) >-----> Internet But in that case your PC (running NetworkManager) would not be acting as a router, the phone would. It seems like you're saying you want your PC to route your phone's connection...? Maybe you could be more precise in describing your goal? Feel free to draw us pictures ;-) |
You have a good description on how to set up a router with Slackware here:
http://computechtips.com/295/slackware-linux-pc-router |
Thanks for the replies, sorry been away for a few days. jostber, I've read that article which was helpful, but I have to connect to WPA on my Android phone so will have to look at setting up wpa_supplicant. STDOUBT, here's a little diagram...
________ |laptop | --ethernet---> |Slackware| --> Wifi----> |Android|->net |
d34dmau5,
That's a real non-standard way of creating a LAN. Connecting your machines via a proper (dedicated) router and using a switch is really the way to go. If you can't afford that extra hardware, and you want to connect both machines to the glorious internet and also be able to share files between laptop<->pc, you should be able to use the droidphone as a wireless "router". If it hands out more than one IP address, it should let the machines communicate. You could also look into an ethernet "crossover cable" for a direct connection. Not sure about the software/configs required since I haven't done it but once before on a lark. Again, non-standard. |
Quote:
That's all it takes. If you only have one machine you'll be attaching to the Ethernet, you probably won't need a special cable. All ports now support Auto-MDIX, which automatically crosses over the connection if needed. You only need a crossover cable for really old gear. |
Thanks pat, I didn't realise editing rc.wireless would mean I wouldn't need to configure wpa_supplicant....so I really don't need NetworkManager even if I just use it so a standalone desktop. I was just using it because I've never used wpa_supplicant before. I've never used dnsmasq before so I'll have to read up on that.
|
Alas, if your android device is acting as the access point for your slack install, then you *can* use network manager to extend your wan via your ethernet port.
Edit your wired connection, under the ipv4 (or ipv6) tab, select *shared to other computers* under method, et voila! you have an new subnet generated by nm and shared to your wired friends.... cheers, |
Thanks mrclisdue, I'll try that too
|
Looking at /etc/rc.d/rc.wireless.conf I don't see anything for wpa encryption, only wep?
Do I enter my wpa passphrase there? |
Quote:
AlienBOB's documention should be helpful: http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network |
I've edited my /etc/rc.d/rc.inet1.conf and added my essid to my line
WLAN_ESSID[4]="my essid" but when I restart inet1 I get this message /etc/rc.d/rc.inet1: eth1 information: 'Any ESSID' anyone know why? |
See post #12 here:
http://www.linuxquestions.org/questi...13-1-a-849535/ Also verify your config with this: http://alien.slackbook.org/dokuwiki/...ckware:network |
All times are GMT -5. The time now is 07:13 PM. |