Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-14-2006, 10:11 AM   #16
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51

Run dhcpcd in the foreground to make sure it works.

If you can't get an IP, it's typically bad wireless settings - MAC filtering or WEP mismatch. Sometimes, adding a default route or DNS information can help.

Edit /etc/resolv.conf to show the primary and secondary DNS servers for your ISP.
Run this command: route add default gw <IP_address_of_your_router>
Old 12-16-2006, 01:03 AM   #17
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Since I am trying to connect in motels, i don't know the ip address of the router i'm dealing with
I put the regular dns address in /etc/resolv.conf (the one I use with my hardwire connexion at home)
*WEP mismatch: the key is off. Should I put key="off", key="", or nothing at all?
*MAC filtering: what is this?
Old 12-31-2006, 07:36 PM   #18
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
I spoke with someone from my ISP.
Same problem.
ipw2200 finds the available networks but can't connect o any of them.
That guy from my ISP (he's under Ubuntu) had to install a Windoze driver to have the thing working.
I won't do the same...
I will stay wired with my Linux box for the moment until the problem is fixed in the upcoming Linux version releases.
Old 12-31-2006, 08:11 PM   #19
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
It is not Slackware giving you problems.

It will connect.

Here are the key points:
  • eth0 is wired, eth1 is your wifi card
  • Connecting is easy. Turn off wep/wpa. 99% of hotel wireless don't use them
  • Edit /etc/rc.d/rc.inet1.conf WITHOUT ANY WEP/WPA. Forget ifname(x), just use eth(1) settings (copy/paste from the wireless area, if needed). USE DHCP="y"
  • Edit /etc/rc.d/rc.wireless.conf so you have "Any" "any"
  • Run (as root or su) /etc/rc.d/rc.inet1 eth1_restart
  • Then check ifconfig eth1 for a IP address. If you have one, you're set.
If you want to add wep/wpa later, go for it. But get the connection first.

Here is my rc.inet1.conf in it's entirety:
# /etc/rc.d/rc.inet1.conf
# Config information for eth0:

# Config information for eth1:
WLAN_RATE[1]="54M auto"

# Default gateway IP address:
As you see, no WEP/WPA.
I use DHCP for eth0 (Wired)and eth1 (wifi)

It works all the time.
Old 01-04-2007, 06:40 AM   #20
LQ Newbie
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Originally Posted by jayhel

ifconfig lists:

eth1 Link encap: Ethernet HWaddr 00:12:F0:84:27:B6
inet6 addr : fef0:212:foff:fe84:27bc/64
Rx bytes 7861 Tx bytes 432
Iinterrupt 11 Base Address 0xc00...

I don't see any IP anywhere...

Hello guys! First of all i'm total newbie, but as i see this stroke:

inet6 addr : fef0:212:foff:fe84:27bc/64 it looks like IPv6 adress. Looks like your getting adress of IP protocol of version 6.

Sorry for my poor English =))

P.S. My atheros card doesn't work too =))
Old 01-16-2007, 10:55 PM   #21
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Problem solved

I succeeded in connecting with the new wireless DLink 802.11 bg/n Gatewaway/Router model D-625.

It is simple:

The Centrino chip set works with the ipw2200 module.

1) Compile the kernel with the Intel Pro Wireless 2200 enabled

2) Download the ipw2200 firmware that can be found at:

Install it into /lib/firmware

3) Configure /etc/rc.d/rc.inet1.conf as follows:

# Config information for eth1:
USE_DHCP[1]="yes" ##enable dhcp here
WLAN_RATE[1]="54M auto"

4) Configure /etc/rc.d/rc.wireless.conf as follows:

case "$HWADDR" in

## NOTE : Comment out the following five lines to activate the samples below ...
## --------- START SECTION TO REMOVE -----------
00:12:F0:50:08:98) ## The HWaddr of your card in ifconfig (MAC address)
# ESSID (extended network name) : My Network, any
ESSID="dlink" ##Your ESSID id
# NWID/Domain (cell identifier) : 89AB, 100, off
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
CHANNEL="8" ##Whatever channel number that appears in iwlist eth1 scanning
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
# Bit rate : auto, 1M, 11M
# Encryption key : 4567-89AB-CD, sassword
KEY="s:xxxx" ##Whaterver WEP key that you set
# RTS threshold : off, 500
# Fragmentation threshold : off, 1000
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
#IWCONFIG="ap 00:16:B6:28:54:AD"
# iwspy parameters : + 01:23:45:67:89:AB
# iwpriv parameters : set_port 2, set_histo 50 60

5) Don't forget:

a) Turn the radio on:

#iwconfig eth1 txpower on

else iwlist will find nothing!

b) If there's a enable/disable wlan hardware button on your laptop be sure it is enabled (else you're going to get mad!) since iwlist will find nothing.

c) Ignore KWifimanager and the likes if you want to stay sane.

6) Init 6

That's it!

Thanks globally for all the bits I gathered from different sources in this ticket.

End of ticket. Problem solved.


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
can connect but can't browse - wifi problems Dr. Doerke Linux - Wireless Networking 4 04-09-2006 04:35 PM
can't connect wifi at home, but can connect everywhere else Javi2 SUSE / openSUSE 1 08-25-2005 07:49 PM
difficulty using ssh to connect to X11 remotely shortname Linux - Networking 6 03-05-2005 01:53 PM
What app. should I use to connect via wifi? Unknown_User Linux - Wireless Networking 3 01-08-2005 06:14 PM
WiFi 3Com Office Connect cyberFISH Linux - Wireless Networking 1 05-15-2004 08:12 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration