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 12-14-2006, 09:11 AM   #16
2Gnu
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, 12:03 AM   #17
jayhel
Member
 
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, 06:36 PM   #18
jayhel
Member
 
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, 07:11 PM   #19
cwwilson721
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:
Code:
# /etc/rc.d/rc.inet1.conf
#
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
WLAN_MODE[1]=Managed
WLAN_RATE[1]="54M auto"
DHCP_HOSTNAME[1]=""

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

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

Rep: Reputation: 0
Quote:
Originally Posted by jayhel
Allright!

ifconfig lists:

eth1 Link encap: Ethernet HWaddr 00:12:F0:84:27:B6
inet6 addr : fef0:212:foff:fe84:27bc/64
scope:limit
UP BROADCAST RUNNING MULTICAST MTU1500 Metric 1
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, 09:55 PM   #21
jayhel
Member
 
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:

http://ipw2200.sourceforge.net/firmware.php

Install it into /lib/firmware

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

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

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
#NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
#FREQ=""
CHANNEL="8" ##Whatever channel number that appears in iwlist eth1 scanning
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
#SENS=""
# Bit rate : auto, 1M, 11M
#RATE=""
# Encryption key : 4567-89AB-CD, sassword
KEY="s:xxxx" ##Whaterver WEP key that you set
# RTS threshold : off, 500
#RTS="off"
# Fragmentation threshold : off, 1000
#FRAG=""
# 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
#IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
#IWPRIV=""
;;
esac


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.
 
  


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

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

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