You are not logged in.

#1 2009-12-16 15:43:15

netw1z
Member
Registered: 2009-12-13
Posts: 13

Cant Get wireless up at boot: So Close! Using NetCfg2

Hi!

Spent a couple of days reading the Wiki and posts on here. I can't get my wireless to come on at boot no matter what I stick anywhere so far. It does work if I just drop to a command shell prompt and it cuts on if I do dhcpcd ra0 or netcfg2 ra0 (ra0 the device and the profile in /etc/network.d). I don't get an error here:

netcfg2 ra0
:: ra0 up                                                                                                                    [BUSY] 
dhcpcd: version 5.0.7 starting
dhcpcd: ra0: rebinding lease of 192.168.0.103
dhcpcd: ra0: acknowledged 192.168.0.103 from 192.168.0.1
dhcpcd: ra0: checking for 192.168.0.103
dhcpcd: ra0: leased 192.168.0.103 for 315360000 seconds
dhcpcd: forking to background

here is my rc.conf:

#lo="lo 127.0.0.1"
lo="lo 127.0.0.1"
#eth0="dhcp"
ra0="dhcp"
INTERFACES=(lo !eth0 ra0)
#
# 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.0.1"
ROUTES=(!gateway)
#

# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(ra0)
NETWORKS=(ra0)
#
#
#DAEMONS=(syslog-ng network netfs crond)
DAEMONS=(fbsplash !syslog-ng !hotplug !pcmcia net-profiles !network !mysqld !dbus !avahi-daemon @azureus_script netfs)
# End of file

here is my /etc/network.d profile ra0:

CONNECTION="wireless"
DESCRIPTION="Main Wireless Router Connection"
INTERFACE="ra0"
SCAN="yes"
ESSID="{{{  ocean  }}}"
IP="dhcp"
DHCP_TIMEOUT=200
IWCONFIG="ap 00:30:1B:B7:73:3A"
DHCLIENT=no

here is lsmod:

rt3562sta             716272  1

here is lspci:

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Network controller: RaLink RT2800 802.11n PCI

and finally here is iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"{{{  ocean  }}}"  Nickname:"RT2860STA"
          Mode:Managed  Frequency=2.452 GHz  Access Point: 00:02:6F:5D:96:38
          Bit Rate=270 Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level:-25 dBm  Noise level:-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

thanks in advance for help - hopefully all this makes it easier to diagnose the problem. I'm using a EDIMAX|EW-7728IN 300M PCI card and NetCfg -version v2.0.6. also Netcfg-menu works for me as well from the command line as well.

Offline

#2 2009-12-16 16:02:11

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: Cant Get wireless up at boot: So Close! Using NetCfg2

1 - i've had issues with it loading on boot. for me it doesnt because i background module loading, so it isnt ready in time. to solve it, i made my own daemon to connect the network after sleeping a few seconds (to be backgrounded).

2 - i'm pretty sure if you have netcfg, you're not supposed to be setting the interface etc. in rc.conf. check the netcfg wiki again, since i'm pretty sure you should remove that stuff. good luck!


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

Board footer

Powered by FluxBB