How to make slackware setup network interfaces on boot?
1 Attachment(s)
I'm new to slackware and I've read that I needed to configure /etc/rc.d/rc.inet1.conf for all my network settings. I need eth0 to be set at 192.168.200.105, netmask 255.255.255.0, and my wlan0 to be set to essid dlink, and use dhcp on boot. What do I need to do? Here is my /etc/rc.d/rc.inet1.conf attached. Thanks!
|
Just leave rc.inet1.conf as is.
1 Plug in your ethernet cable 2 go to root terminal and type netconfig 3 Answer the questions as you wish,and enter, You should now be on the internet. To get networkmanager working for wireless! 1 go to cd /etc/rc.d 2 ls to make sure you are in the correct directory. 3 Make it executable chmod +x rc.networkmanager. 4 now go to networkmanager in the taskbar and click and choose your network and enter password You might to reboot after the above! |
Quote:
Code:
# /etc/rc.d/rc.inet1 restart (Of course replace 'restart' by 'start' if it was not yet started...) Cheers. Edit: maybe I didn't really understood the question, but as zrdc wrote, any script which is "executable" in /etc/rc.d/ is ran on startup (=boot) so you're ok after that... |
Quote:
Code:
# chmod +x /etc/rc. <tab> |
Thank you! Out of curiosity, and for the sake of needing the knowledge when I don't have a gui, how would you do this manually?
|
I don't really understand your question, as everything we wrote can (must) be done in a terminal (and can even be done remotely through ssh once setup).
What do you mean by "manually" ? Edit: all these are done in the text terminal, by default when you start slackware after an install... Log as root/or if logged as a simple user issue a "su" command: Code:
YourPrompt $ su If you're inside a DE, simply open any terminal application and do the same thing... |
From the SlackDocs wiki.
http://docs.slackware.com/slackware:...e_your_network and linked from the above but more directly relevant. http://alien.slackbook.org/dokuwiki/...eless_networks |
So you can read the blend of zrdc28's answer and mine as:
If your a simple user, go as root Code:
$ su - Code:
# netconfig Code:
# chmod +x /etc/rc.d/rc.networkmanager Edit: oh maybe you meant to choose the wifi if you don't have the task bar ? There's a command line tool, I don't remember the name, try typing "net" and completion with <tab>... And read the doc, it might be pointed inside (See allend answer :) ) Edit2: or "wicd..." something... |
This command:
Code:
nm-applet |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 02:36 PM. |