LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 12-07-2003, 08:20 PM   #1
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
slackware and DHCP


Well, someone told me that getting slackware to automatically connect to my DHCP server on startup is way better than using rp-PPPoE when i want to connect to the internet. (i have adsl)

So what file do i need to mess with to get it to do this when I boot up?
 
Old 12-07-2003, 08:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Become root, run netconfig, select your hardware,
select DHCP, finish :)


Cheers,
Tink
 
Old 12-08-2003, 12:30 PM   #3
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Original Poster
Rep: Reputation: 30
Great, exactly what I needed.

But ofcourse I get an error message when it trys to connect. But before I posted here I was messing with some files in /etc/dhcpcd (or something like that), and I probably screwed soemthing up. So format slackware to freshin it up, and try again. Thanks for the command.
 
Old 12-08-2003, 01:02 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Quote:
Originally posted by veritas
So format slackware to freshin it up, and try again. Thanks for the command.
installpkg /cdrom/slackware/n/dhcp*tgz

Why re-install? :)


Cheers,
Tink
 
Old 12-08-2003, 07:03 PM   #5
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Original Poster
Rep: Reputation: 30
Because at my current skill level, i have no real knowledge of how to fix sorta major problems like this one. But anyways, turns out my isp has no DHCP server, they just assign IPs through PPPoE. Oh well, I had no problem with it before, I was just wondering if DHCP was faster or something.

Thanks,
Wes
 
Old 12-08-2003, 07:16 PM   #6
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 493

Rep: Reputation: 30
Actually, DHCP and PPPoE are quite similar. The major difference is that with a DHCP lease, your IP address may change every 3 days, 30 days, or never...whatever your ISP deems fit. In other words the lease expires at intervals that they set, and it is likely that when the lease is renewed, it will be the same.
PPPoE is much the same, but with each lease expiration, the IP address will likely change. This is kind of a way for ISPs with limited IP addresses to maximize the use of said IP addresses.
If you never have the need to know the IP address (remote connections via ssh, etc), then it doesn't really matter which you use. There is NO difference in speed, connection (meaning connection speed), etc.

Last edited by DaOne; 12-08-2003 at 07:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware and dhcp realcr Linux - Networking 1 09-11-2005 05:35 AM
dhcp problems in slackware 10.0 xias Linux - Wireless Networking 16 07-10-2004 11:40 AM
slackware 9.1 dhcp problem d4nr Linux - Networking 1 05-24-2004 06:16 PM
DHCP on Slackware reclusivemonkey Linux - Networking 1 10-18-2003 10:04 AM
DHCP in Slackware 8.0? digital bots Linux - Networking 6 04-09-2002 03:40 AM


All times are GMT -5. The time now is 04:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration