LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-10-2011, 01:44 AM   #1
derstephen
Member
 
Registered: Sep 2011
Location: Northern Colorado
Distribution: Slackware64
Posts: 79

Rep: Reputation: Disabled
Configuring wireless (more specific questions inside)


Hi everybody,

Well, I'd been using Ubuntu for about 5 years when I decided about a week ago to switch to a "purer" distro. After a few days of effort I was able to install (not a full install) Slack from a hard drive partition on my aging IBM Thinkpad T41, which was just in time because my rescue disk, (don't laugh) Ubuntu 8.04, decided to crap out at that exact time. So I've learned a lot about how linux boots already.

But anyway, I've hit my next brick wall, configuring my wireless network. I've spent maybe six straight hours at this, reading countless man pages and FAQs, including Alien Bob's (twice), but nothing has worked so far. I think I've managed to get some bits and pieces in place but I have some specific questions:

1) At some point in my journey iwconfig decided to create an interface called "eth1-eth0". Ifconfig lists no such interface, and it certainly doesn't appear in the rc.inet1.conf file. Anyone seen this before? I think it started when I changed the name appearing in udev's 70-net-rules file, but I changed them back and rebooted and it's still there.

2) In rc.inet1.conf, I created a shiny new wlan0 interface, with a bunch of parameters (I uncommented most of the sample), including WPA support with wpa_supplicant, but rc.inet1 doesn't seem to pay any attention to it, only eth0. Is there some way to change the 'default' interface?

3) Speaking of the wlan0 interface, I'm kind of worried because at first my wireless card (an Intel with driver ipw2100) seemed to gravitate towards eth1. Should I have just stuck to that instead of trying to force a wlan0 on it?

Sorry, that's a lot to throw out there without providing any of my source or outputs etc. If you want to see a file that I've edited, or the output of some command, please ask!

Thank you,

Der Stephen
 
Old 09-10-2011, 08:19 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
I've always found wicd (in the extras directory of the Slackware install media) to be an excellent solution to wireless config. I do a fair bit of traveling and found that the official Slackware way to deal with wireless is a little fiddly for my tastes.

Quote:
3) Speaking of the wlan0 interface, I'm kind of worried because at first my wireless card (an Intel with driver ipw2100) seemed to gravitate towards eth1. Should I have just stuck to that instead of trying to force a wlan0 on it?
I usually prefer to let it be what it will be. It really doesn't matter what the device is called so long as that name is stable.

Quote:
2) In rc.inet1.conf, I created a shiny new wlan0 interface, with a bunch of parameters (I uncommented most of the sample), including WPA support with wpa_supplicant, but rc.inet1 doesn't seem to pay any attention to it, only eth0. Is there some way to change the 'default' interface?
If your card is coming up as eth1, that is probably why this is being ignored. If I remember correctly, there isn't a default here, Slackware will happily configure all of the cards it finds using the info from here.

As for #1, I suspect you made a change that you don't remember. If you've done a lot of fiddling, it might not be a bad idea to re-install the stuff from n and see if that gets you back to a stock situation.
 
1 members found this post helpful.
Old 09-10-2011, 09:51 AM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,420

Rep: Reputation: Disabled
Quote:
Originally Posted by derstephen View Post
Hi everybody,

Well, I'd been using Ubuntu for about 5 years when I decided about a week ago to switch to a "purer" distro. After a few days of effort I was able to install (not a full install) Slack
If you are new to slackware I'd strongly encourage you to do a full install until you are comfortable with it. This will remove a potential source of problems as you are learning the system.

For the wireless problem, let your system determine the interface name and edit the .conf file accordingly as Hangdog suggests. If you are configuring manually then you will also have to mess with wpa_supplicant (assuming your network is encrypted). If you move at all between networks and/or use encryption then wicd (in extra) or NetworkManager (which you can build using scripts from slackbuilds.org) are much more robust solutions.

Brian
 
1 members found this post helpful.
Old 09-10-2011, 05:46 PM   #4
derstephen
Member
 
Registered: Sep 2011
Location: Northern Colorado
Distribution: Slackware64
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Hangdog42 View Post
I usually prefer to let it be what it will be. It really doesn't matter what the device is called so long as that name is stable.
Apparently this is pretty important. I imported my parameters for the wlan0 interface back to the eth1 interface, changed the udev rules to rename it back to eth1, ran rc.inet1, and Bingo! I'm connected with 98% link quality!

Thanks guys for your replies.
 
1 members found this post helpful.
Old 09-11-2011, 05:46 AM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,383
Blog Entries: 14

Rep: Reputation: 582Reputation: 582Reputation: 582Reputation: 582Reputation: 582Reputation: 582
When it comes to wireless devices, there is a chance you MAY be required to download and install Firmware either from the OEM, a Linux wireless network project, or another website.

You should research the type of wireless device you are using first, then see if drivers or firmware are needed, then download and install them if needed and use a network management tool to control the wireless.
 
Old 09-11-2011, 08:05 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Quote:
Originally Posted by ReaperX7 View Post
When it comes to wireless devices, there is a chance you MAY be required to download and install Firmware either from the OEM, a Linux wireless network project, or another website.

You should research the type of wireless device you are using first, then see if drivers or firmware are needed, then download and install them if needed and use a network management tool to control the wireless.
Generally excellent advice, however in this case the OP did say that the card in question is an Intel, and since Intel actually deals with Linux in an intelligent manner (mainly it allows firmware to be included in distros), it isn't an issue in this case. Intel's support of Linux is the main reason that if there is a choice of wireless device, I always buy an Intel based card.
 
Old 09-13-2011, 02:02 AM   #7
derstephen
Member
 
Registered: Sep 2011
Location: Northern Colorado
Distribution: Slackware64
Posts: 79

Original Poster
Rep: Reputation: Disabled
Yup, I found my driver was already installed, good ol' ipw2100. It's getting on in years but they still keep it around (though they specifically say that because it's so old one should use the wext wpa driver).

I love your sig Hangdog. Context would only ruin the joke.

Didn't mean to bump the thread but I just saw the "solved" thing so I'll go ahead and mark it.
 
  


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
how to count specific entries inside a block Alkass Programming 8 07-16-2011 07:03 AM
[SOLVED] Configuring LT to use specific router address Sir Prised Linux - Laptop and Netbook 3 05-30-2011 07:37 AM
How to find a file with specific string inside it. pinga123 Linux - Newbie 5 05-07-2010 06:30 AM
How to use AWK to search for a specific string inside html? LuxLuv Programming 4 01-28-2010 07:54 AM
Email client recommendations? Specific needs inside... King V Linux - Software 0 03-24-2003 07:28 PM


All times are GMT -5. The time now is 02:20 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