LinuxQuestions.org
Visit Jeremy's Blog.
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-02-2013, 11:49 AM   #1
lettuce
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
Automatic Dhcpcd if no IP


Hi,

My university uses 802.1x security and every time I power up my computer I have to use wpa_supplicant to get auth (I've editet the /etc/rc.d/rc.local in order to do it at startup).

Everything works fine, the only problems is, sometimes I do get connected, but I don't get an IP address for reasons I don't quite know. And this forces me to login as root and use dhcpcd manually.

It's not a big deal, but I'd like to know if there's a way to automatize this process and allow dhcpcd to run automatically if I haven't an IP even if I'm connected to a network.

Thanks.
 
Old 09-02-2013, 01:05 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
How did you configure your "rc.inet1.conf"?
 
Old 09-02-2013, 04:01 PM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
rc.inet1 can do what you ask (and it can use wpa_supplicant as well). I'm currently connected (and typing this) from my Uni.
 
  


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
DDclient slack13 dhcpcd.sh vs dhcpcd.eth0.exe question nl1at Slackware 3 10-27-2010 01:51 PM
dhcpcd wireless problems. dhcpcd wlan0 removes essid entry in iwconfig. Romanus81 Slackware 3 08-25-2008 10:34 PM
dhcpcd rwescoat Linux - Networking 14 10-16-2004 12:53 PM
dhcpcd chrismiceli Linux - Networking 2 10-21-2002 11:09 AM
Please help, dhcpcd! majon96 Linux - Newbie 3 05-19-2002 12:55 PM

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

All times are GMT -5. The time now is 12:23 AM.

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