LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Closed Thread
 
Search this Thread
Old 08-31-2012, 08:18 PM   #1
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 438

Rep: Reputation: Disabled
rc.inet1.conf/rc.wireless suggestion?


Hello,

So I've run into the peculiar situation where I had to use wpa_supplicant for my ethernet card at my school.
Code:
-D wired
Instead of
Code:
-D {wext,ndiswrapper}
I wanted to know if perhaps we could get an /etc/rc.d/rc.inet1.conf option for eth# devices to use wpa_supplicant such as:
Code:
ETH_WPA[#]="wpa_supplicant"
ETH_wpadriver[#]="wired"
So far, in order to access my school's network (after correctly setting up /etc/wpa_supplicant.conf), this is what is required in order to authenticate to an AP and then obtain a dhcp lease:
Code:
ifconfig eth0 up
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant.conf -D wired -i eth0
dhcpcd #or "dhcpcd eth0"
Even though back home all I needed was (when hooking up via ethernet data cable):
Code:
ifconfig eth0 up
dhcpcd #or "dhcpcd eth0"
For the second one I could use /etc/rc.d/rc.inet1.conf very easily. However, with the school's internet requiring the second process, I was unable to find an option in /etc/rc.d/rc.inet1.conf that could automate it for me except "WLAN_WPA" and "WLAN_WPADRIVER". However, in IRC we discussed that rc.wireless will exit if a wireless device is not found, so WLAN_WPA and WLAN_WPADRIVER would be unsuccessful configuration options (and when I tested it, they were).

Also in IRC, some were a bit curious as to know if we could have rc.wireless and another rc.something script (maybe rc.wpa_supplicant). The suggestion was to have rc.wireless set up the wireless interface, while rc.wpa_supplicant does the encryption part. Good, bad, weird?

As a poorly made hack I've been automating the process in /etc/rc.d/rc.local but I'm wondering if it would be possible to get such a feature added into slackware's networking scripts.
 
Old 08-31-2012, 11:06 PM   #2
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 438

Original Poster
Rep: Reputation: Disabled
I was wrong. :/ I was using ^R to scroll back, but I didn't even look and I was using wlan0. But while we're on the topic of interface names, eth0 was renamed to eth1 in rc3.
 
Old 09-01-2012, 02:11 AM   #3
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Quote:
Originally Posted by TommyC7 View Post
I was wrong. :/ I was using ^R to scroll back, but I didn't even look and I was using wlan0. But while we're on the topic of interface names, eth0 was renamed to eth1 in rc3.
This file determines the name given to each interface, if you delete it it will be regenerated automatically which may correct your naming glitch. If not you can modify it to fix the name as well.

/etc/udev/rules.d/70-persistent-net.rules
 
1 members found this post helpful.
Old 09-01-2012, 10:09 AM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 438

Original Poster
Rep: Reputation: Disabled
Thank you once again wildwizard.
 
  


Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless keeps dropping - using edited rc.inet1.conf pevsner Slackware 2 01-23-2011 05:08 PM
How to configure rc.inet1.conf if wireless is eth1 arubin Slackware 1 12-31-2009 05:44 AM
Slackware 12.2: Wireless interface predefined instead of taken from rc.inet1.conf? gargamel Slackware 21 12-29-2008 07:20 AM
rc.wireless.conf and rc.inet1.conf for wireles cards davimint Slackware 1 07-13-2007 05:44 AM
How to configure wireless with rc.inet1.conf Murkhadh Linux - Wireless Networking 2 02-17-2007 10:28 AM


All times are GMT -5. The time now is 11:00 AM.

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