LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Auto DHCP for Wireless (https://www.linuxquestions.org/questions/slackware-14/auto-dhcp-for-wireless-671624/)

Titan8990 09-22-2008 01:38 PM

Auto DHCP for Wireless
 
I am having an issue with my laptop. Every time I boot the machine I must su and then run dhcpcd. I would like to the interface to acquire a network address either on start up or at log in.

I come from *buntu Debian based systems where this was easy. I would just edit /etc/network/interfaces and add something like this:

auto ath0
iface ath0 inet dhcp


In Slackware this file does not exist. Do I need to manually add the dhcpcd command to a script and have it execute on start up? I have a feeling there is an easier way to do it and I just do not know where to look.


I appreciate any help I can get and please, no GUIs.

jelaiwang 09-22-2008 02:03 PM

See /etc/rc.d/rc.inet1.conf and /etc/rc.d/rc.wireless.conf.

Titan8990 09-22-2008 02:09 PM

Thank you for the reply.

I do not currently have the laptop in front of me because I am at work. Is the syntax similar to /etc/network/interfaces as I mentioned above?

A pointer to a man page would be excellent if it exists.

bgeddy 09-22-2008 03:12 PM

Alien Bob recently made this available http://slackware.com/~alien/alienwik..._slackware.pdf which will no doubt help you out.

Alien Bob 09-22-2008 03:28 PM

Quote:

Originally Posted by bgeddy (Post 3288539)
Alien Bob recently made this available http://slackware.com/~alien/alienwik..._slackware.pdf which will no doubt help you out.

I rather prefer people read the original Wiki page this PDF was printed from: http://alien.slackbook.org/dokuwiki/...ckware:network
The PDF has some formatting problems and apparently a bit of text fell off.

Eric

Alien Bob 11-21-2008 05:09 AM

A small update - I added a "OpenOffice export" link in the Wiki's toolbox. You click on it and it will generate an OpenOffice ".odt" file with the current Wiki page as it's content. Then, you can use OOo's Writer functionality "export to PDF".
Please leave the document's "article written by Eric Hameleers" footer intact.

Eric


All times are GMT -5. The time now is 02:13 AM.