LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-06-2005, 09:09 AM   #1
Bundy
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
WIFI: Interface could not be set up.


Hi Folks,

Sorry to have to add my woes to everyone elses but this has been bothering me for a while, to the point where I haven't left the house much in the past few days:) Previously posted to usenet, looks much busier here..

I'd migrated to Linux as i only use the pc for programming anyway, installed my card and eventually got it recognised using the rt2500 drivers however it refuses to connect to the gateway (not using wep/wpa for now). Perhaps someone could see something in the below and suggest where i'm going wrong or some tips on where else to check..

Any help would be much appreciated :)


Please see below for config files and output.

Suse 9.2
Setup is 1 AP (netgear router), 1 Ralink Wireless Card.
Kernel 2.6.8-24-default
Ralink Drivers & Card - RT2500 (v1.1.0 b3). Compiled. RT2500.ko exists in <kernel
version>/extra


iwconfig
Results below are from iwconfig once driver module is loaded.

linux:/etc/sysconfig/network # iwconfig
lo no wireless extensions.


eth0 no wireless extensions.


ra0 RT2500 Wireless ESSID:"NETGEAR"
Mode:Managed Frequency=2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level=-65 dBm Noise level:-204
dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


eth1 no wireless extensions.


sit0 no wireless extensions.


linux:/etc/sysconfig/network #


On Boot
Message log shows errors on boot..


eth0 No configuration found for eth0 unused
ra0 device: RaLink Ralink RT2500 802.11 Cardbus Reference
Card (rev 01)
ra0 configuration: wlan-ra0
ra0 warning: using NO encryption
ra0 (DHCP) . . . . . no IP address yet... backgrounding.
waiting
<notice>checkproc: /sbin/dhcpcd 3866
<notice>checkproc: /sbin/dhcpcd 3866
Waiting for mandatory devices: wlan-ra0
11 <notice>checkproc: /sbin/dhcpcd 3866
10 <notice>checkproc: /sbin/dhcpcd 3866
9 <notice>checkproc: /sbin/dhcpcd 3866
8 <notice>checkproc: /sbin/dhcpcd 3866
7 <notice>checkproc: /sbin/dhcpcd 3866
6 <notice>checkproc: /sbin/dhcpcd 3866
5 <notice>checkproc: /sbin/dhcpcd 3866
4 <notice>checkproc: /sbin/dhcpcd 3866
2 <notice>checkproc: /sbin/dhcpcd 3866
1 <notice>checkproc: /sbin/dhcpcd 3866
0 <notice>checkproc: /sbin/dhcpcd 3866


ra0 interface could not be set up failed
Setting up service network . . . . . . . . . . . . . . . failed

<notice>exit status of (network) is (7)



DHClient
Tried using DHClient within a script ..

linux:/etc/sysconfig/network # wlan-ra0-up
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit * removed url so i can make this post :) *


sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/ra0/00:11:09:4d:c6:82
Sending on LPF/ra0/00:11:09:4d:c6:82
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


file:/etc/Wireless/RT2500STA/RT2500STA.dat

# Copy this file to /etc/Wireless/RT2500STA/RT2500STA.dat
# This file is a binary file and will be read on loading rt2500.o
module.
# Use "vi -b RT2500STA.dat" to modify settings according to your need.


[Default]
CountryRegion=0
WirelessMode=0
TXBurst=0
TurboRate=0
BGProtection=0
ShortSlot=0
TxRate=0
PSMode=CAM


#SSID=
NetworkType=Infra
Channel=0
AuthMode=OPEN
EncrypType=NONE
#DefaultKeyID=1
#Key1Type=0
#Key1Str=
#Key2Type=0
#Key2Str=
#Key3Type=0
#Key3Str=
#Key4Type=0
#Key4Str=
#WPAPSK=abcdefghijklmnopqrstuvwxyz
#RTSThreshold=2312
#FragThreshold=2312
PSMode=CAM
#RFMON=0


file:/etc/sysconfig/network/ifcfg-wlan-ra0

The YAST2 file..


BOOTPROTO='dhcp'
BROADCAST='192.168.0.255'
#IPADDR='192.168.0.97'
#MTU=''
NETMASK='255.255.255.0'
NETWORK='192.168.0.0'
GATEWAY='192.168.0.1'
#REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_BITRATE='auto'
WIRELESS_CHANNEL='auto'
WIRELESS_ESSID='any'
WIRELESS_KEY=''
WIRELESS_AP='00:09:5B:86:90:72'
WIRELESS_MODE='Managed'
WIRELESS_NWID=''
WIRELESS_POWER='no'
#WIRELESS_WPA_PSK=''
_nm_name='static-0'
MTU=''
REMOTE_IPADDR=''
WIRELESS_AUTH_MODE='open'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_FREQUENCY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_NICK=''
WIRELESS_WPA_PSK=''


Modprobe.conf (at end of file...)
alias ra0 rt2500


Modprobe.conf.local (empty)

Built/compiled raconfig2500. Utility starts and finds the mac address of the router (!) with strength 70%+, however connect fails with no error or any feedback.

Noticed that any changes i make with iwconfig seem to get ignored, like ssid, ap, etc.. but can't work out why.

Thanks for looking, and whilst i would apologise for the long post, I thought it better to show i've been doing something with my time other than ask a one sentence question hoping you can fix my pc :)

Cheers, Jode
 
Old 10-06-2005, 07:11 PM   #2
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
just a suggestion.....as root
Code:
ifconfig ra0 up
and then carry on with your iwconfig stuff.

just because iwconfig returns detals of it's wireless extensions doesn't mean that it's up
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
reset wifi pcmcia card and interface powah Linux - Wireless Networking 1 11-08-2005 06:50 PM
help - need to set up iptables on one interface out of three only aemee Linux - Security 2 05-10-2005 08:51 PM
wifi interface with ndiswrapper robinang Linux - Wireless Networking 2 09-13-2004 11:46 PM
how do you set up your Linux box to route secure wifi? richard3403 Linux - Wireless Networking 0 11-15-2003 02:40 PM
set interface duplex zuessh Linux - Networking 1 09-19-2003 09:50 AM


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