LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-03-2007, 08:20 AM   #1
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Need Wifi Working


I just switched from cable internet to dsl (at&t) and didn't think about getting any wireless drivers before switching.

I have a D-link DI-524 wireless router hooked up to my Mini Mac and using a DWL-510 wireless nic in my PC tower system. Using Slack 12 with default kernel. Everything works without problems on Debian Sid.

I was able to get and install the madwife drivers and to me, everything seems to be installed correctly, but I'm not able to connect to a website or ping a site using IP address or the name. Error comes back showing 'Host not available'.

Any ideas on fixing this?
 
Old 09-03-2007, 09:13 AM   #2
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
are you sure you have set up dhcp to get an ip adress?
if so, you should see a nameserver entry in /etc/resolf.conf

if not, try running netconfig (as root)
 
Old 09-03-2007, 10:53 AM   #3
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Wireless does not by default request an IP. You can change that behavior by editing /etc/rc.d/rc.inet1.conf to allow eth1 to use dhcp.

First confirm that your card is found by running at the commandline

Code:
/sbin/iwconfig
You should see something that looks like your card, usually on eth1. If not, no driver is installed.

Next run as root

Code:
/sbin/ifconfig eth1 up
You should see eth1 but without an valid IP. A vaild IP would look something like this:

Quote:
eth1 Link encap:Ethernet HWaddr 00:22:43:65:70:4F
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
At this point you could run as root

Code:
dhcpcd eth1
each time you want to use wireless or edit /etc/rc.d/rc.inet1.conf to allow eth1 to use dhcp by changing

Quote:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
to

Quote:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
Now eth1 will get an address each time the network starts.

You can monitor your connection with kwifimanager.

dennisk

Last edited by dennisk; 09-03-2007 at 10:57 AM.
 
Old 09-03-2007, 11:25 AM   #4
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
When I used cable internet, /etc/resolv.conf had the cable info in it. I ran 'netconfig' and for domain name, added dsl, att.net. Is this correct to add att.net for domain? Also, if I remember correctly, it had an IP address but now no IP address is showing, only att.net.

When I ran /sbin/iwconfig, I see info for ath0 but it show no wireless extension for eth0 and no extension for lo.

Kwifinetwork show the wireless card as active, with green bars in the system tray.

When I type lsmod, I see the driver installed, ath_pci.

I appreciate the help. Any more suggestions?
 
Old 09-03-2007, 11:46 AM   #5
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Ok, typing this I get:

Quote:
bash-3.1# /sbin/ifconfig eth1 up
eth1: ERROR while getting interface flags: No such device
If I type this, it's working:

Quote:
bash-3.1# dhcpcd ath0 up
So, adding 'yes to Use DHCP' in file /etc/rc.d/rc.inet1.conf does nothing.

It seems mine has ath0 instead of eth1, but I thought eth is for wired nics and ath for wireless nics.

Now all I need to know is where to add 'dhcpcd ath0 up' to start automagically?

Thnx.
 
Old 09-03-2007, 12:05 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
/etc/rc.d/rc.local is the file you're looking for
 
Old 09-03-2007, 12:42 PM   #7
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Thanks to all. I'm up and running wirelessly...this is what I like about Slackware & Debian, the so-called hard distros, they're the easiest to use of all distros, IMHO!

I'm having dependency hell with Fedora getting wifi working, but will work on it.

Thnx.
 
Old 09-03-2007, 01:04 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by FredGSanford View Post
I just switched from cable internet to dsl (at&t) and didn't think about getting any wireless drivers before switching.

I have a D-link DI-524 wireless router hooked up to my Mini Mac and using a DWL-510 wireless nic in my PC tower system. Using Slack 12 with default kernel. Everything works without problems on Debian Sid.

I was able to get and install the madwife drivers and to me, everything seems to be installed correctly, but I'm not able to connect to a website or ping a site using IP address or the name. Error comes back showing 'Host not available'.

Any ideas on fixing this?
Hi,

You could look at Alien_Bob's wiki for Slackware and using the Atheros Madwifi.

Eric has done a great job to assist you with problems of this sort. You should look in the configuration section. He has covered the '/etc/rc.d/rc.inet1.conf' file very well. The wiki is based on Slackware 10.2 but applicable to 12 as a guide.

Last edited by onebuck; 09-03-2007 at 01:06 PM. Reason: clarity
 
Old 09-03-2007, 02:25 PM   #9
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 onebuck View Post
You could look at Alien_Bob's wiki for Slackware and using the Atheros Madwifi.

Eric has done a great job to assist you with problems of this sort. You should look in the configuration section. He has covered the '/etc/rc.d/rc.inet1.conf' file very well. The wiki is based on Slackware 10.2 but applicable to 12 as a guide.
OK ok got the hint :-)
I did an update of the page, adding some new info, deleting some old cruft.

Especially worth noting for Slackware 12.0 users is that you can use the Slackware 12.0 wpa_supplicant package without modification with my madwifi package. Starting with kernel 2.6.14, the "wext" driver of wpa_supplicant can be used to let madwifi and wpa_supplicant communicate.

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
Can´t Get My Wifi Working... PETROSHP Linux - Newbie 4 02-20-2007 12:06 PM
Wifi working...but no ip kristersaurusrex Linux - Wireless Networking 5 12-31-2005 05:16 PM
wifi not working drsketch SUSE / openSUSE 11 11-02-2005 11:55 PM
Working WiFi but no internet... help ! Tonyyates51 Linux - Wireless Networking 3 10-19-2005 03:21 PM
Does anyone have Smoothwall working with WiFi? PaganHippie Linux - Wireless Networking 0 10-15-2005 01:24 AM

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

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