You are not logged in.

#1 2007-01-30 09:57:10

Convergence
Member
Registered: 2005-07-02
Posts: 377

New to wireless networking

I have a linksys wrt54gs  v4.70.8, Hyperwrt 2.1b1 + Thibor14 wireless router and a wmp54g (version 4.1 according to what is printed on the card itself) adapter card. 

I am following this guide: http://wiki.archlinux.org/index.php/Wireless_Setup and am not having much luck. 

I assumed (incorrectly?) that the wireless card was showing up as eth1 because:

# ls /sys/class/net
eth0 eth1 lo

and eth0 is definitely my  old wired ethernet adapter.  I would be seeing a wlan0 if it showed up there right?

So far I've loaded the rt2500 module and have edited both /etc/rc.conf and /etc/conf.d/wireless.  Here they are:

[# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="system138"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
eth1="dhcp"
INTERFACES=(lo eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#

Note that I have commented out my old eth0 line and edited the INTERFACES line to exclude eth0 yet I'm still somehow using eth0 even after restarting the network.  I thought that was kind of weird.

And here is my /etc/conf.d/wireless :

 #
# Settings for wireless cards
#
# For each wireless interface declared in INTERFACES (in rc.conf), declare
# a wlan_${IF} variable that contains the arguments to be passed to
# iwconfig(8).  Then list the original interface name in the
# WLAN_INTERFACES array.
#

#wlan_eth0="eth0 mode managed essid default"
#WLAN_INTERFACES=(eth0)

wlan_eth1="eth1 essid skynet2"
WLAN_INTERFACES=(eth1)

This is the error I get when I run /etc/rc.d/network restart:

/etc/rc.d/network restart
:: Stopping Network                                                                                                                                                         [BUSY] down: error fetching interface information: Device not found
                                                                                                                                                                            [FAIL]
:: Starting Network                                                                                                                                                         [BUSY] Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device eth1 ; Operation not supported.

Any advice would be really appreciated.  Thanks in advance.


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#2 2007-01-30 11:34:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: New to wireless networking

rt2500 generally uses ra0

use 'ifconfig' or 'iwconfig' to check which one is actually your network card.

Offline

#3 2007-01-30 21:50:07

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: New to wireless networking

yeah, I'm definitely doing something wrong:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:09:84:4F:B9
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:fe84:4fb9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5873325 (5.6 Mb)  TX bytes:1495806 (1.4 Mb)
          Interrupt:17 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:45406 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22215007 (21.1 Mb)  TX bytes:22215007 (21.1 Mb)
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

I don't know what I'm missing in the wiki.  I only need to edit 2 files (/etc/conf.d/wireless and /etc/rc.conf) load the module and restart the network, right?  Oh lspci shows:

02:09.0 Network controller: RaLink RT2561/RT61 802.11g PCI

I'll try using ra0.

Last edited by Convergence (2007-01-30 21:53:09)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#4 2007-01-30 22:15:55

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: New to wireless networking

here is what I have now:

cat /etc/conf.d/wireless
wlan_ra0="ra0 essid skynet2"
WLAN_INTERFACES=(ra0)

#cat /etc/rc.conf 
lo="lo 127.0.0.1"
ra0="dhcp"
INTERFACES=(lo ra0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

and I still get pretty much the same results from  iwconfig.  Oh, and oddly enough I'm still online.  (yes, I reset the network)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#5 2007-01-31 08:18:28

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: New to wireless networking

Well, thanks iphitus, but I decided to cheat and use the wireless card in the windows computer.  I don't think linux supports the card yet.


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

Board footer

Powered by FluxBB