LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2008, 01:38 PM   #1
Titan8990
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
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.
 
Old 09-22-2008, 02:03 PM   #2
jelaiwang
LQ Newbie
 
Registered: Nov 2006
Posts: 28

Rep: Reputation: 15
See /etc/rc.d/rc.inet1.conf and /etc/rc.d/rc.wireless.conf.
 
Old 09-22-2008, 02:09 PM   #3
Titan8990
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 09-22-2008, 03:12 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Alien Bob recently made this available http://slackware.com/~alien/alienwik..._slackware.pdf which will no doubt help you out.
 
Old 09-22-2008, 03:28 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bgeddy View Post
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
 
Old 11-21-2008, 05:09 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Auto DHCP tolbertt Linux - Wireless Networking 6 06-30-2005 12:54 PM
setting up auto proxy using DHCP----------- pal Linux - Newbie 0 06-03-2005 09:45 AM
default gateway not auto-negotiated with dhcp Aaron S Linux - Networking 5 03-30-2005 03:40 PM
network connection auto reset (dhcp) freeindy Programming 1 07-05-2004 02:11 PM
network connection auto reset (dhcp) freeindy Linux - Networking 0 05-29-2004 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration