Command to broadcast for IP?
My Knoppix- powered Dell has a GUI interface for picking up an IP on a new wireless router, but it's a lotta clicks to do it. What is the bash command to ask the router for an IP? I'll just set up a bash alias in /etc/profile if I can get the syntax from some generous soul out here.
|
I'm pretty sure in Knoppix you still use
Code:
su Code:
/etc/init.d/network restart Hope this helps Cheers Tap |
Does it matter which interface?
My wifi is on eth1 and my ethernet is eth0. Is there some way to specify that in the command, or does it matter? the GUI interface has you click on one or the other.
|
The commands I listed above will restart both cards automatically. I'm pretty sure there is some command line way to restart a single interface but I'll be buggered if I can remember what it is at the moment. Buf if it doesn't matter if both your interfaces restart those commands should work just fine.
Cheers Tap |
ifup interface
as in ifup eth0 |
Perfect
Yes! I just appended my alias to enable the network card and join my home wifi network with
sleep 2; ifup eth1 and now she calls out for an IP after authenticating on the (encrypted) router. Thanks everyone! |
All times are GMT -5. The time now is 06:13 PM. |