Help! Stuck at /etc/init.d/network restart

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
yura.lesn
Posts: 7
Joined: Wed Aug 08, 2012 12:30 pm

Re: Help! Stuck at /etc/init.d/network restart

Post by yura.lesn »

Hi guys,
i've done everything like you described here,and that is what i've got:

___________________
my /etc/config/wireless - file
config wifi-device wl0
option type broadcom
option channel 5

# REMOVE THIS LINE TO ENABLE WIFI:


config wifi-iface
option device wl0
option network wan
option mode sta
option ssid TP-LINK_old_outland
option encryption psk2
option key password
~
~
~
~
~
~
~
~
~
root@OpenWrt:~# /etc/init.d/network restart
Received SIGTERM
Entering released state
udhcpc (v1.11.2) started
root@OpenWrt:~# Sending discover...
wl0: Invalid argument
Sending discover...
Sending select for 192.168.1.103...
Lease of 192.168.1.103 obtained, lease time 7200
adding router 192.168.1.1
route: SIOCADDRT: Network is unreachable
deleting old routes
adding dns 192.168.1.1
__________________________

Can anyone tell me what is the problem with that?
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Help! Stuck at /etc/init.d/network restart

Post by gerben »

I get some of those error messages too, but in the end it just works.
So unless you don't have an connection, I would not worry about that.
yura.lesn
Posts: 7
Joined: Wed Aug 08, 2012 12:30 pm

Re: Help! Stuck at /etc/init.d/network restart

Post by yura.lesn »

But how should i get connection?
I can't ping anything..
yura.lesn
Posts: 7
Joined: Wed Aug 08, 2012 12:30 pm

Re: Help! Stuck at /etc/init.d/network restart

Post by yura.lesn »

Hm...I've changed on my main router security to none, and it seems that i managed to connect to it from my"OpenWrt"router..
But i cant ping anything from it.. The Air-light is on. Can anyone help me?
This is how it looks:
______________________________
root@OpenWrt:~# /etc/init.d/network restart
udhcpc (v1.11.2) started
root@OpenWrt:~# Sending discover...
Sending select for 192.168.1.100...
Lease of 192.168.1.100 obtained, lease time 7200
adding router 192.168.1.1
deleting old routes
adding dns 192.168.1.1

root@OpenWrt:~# ping www.google.com
ping: bad address 'www.google.com'
yura.lesn
Posts: 7
Joined: Wed Aug 08, 2012 12:30 pm

Re: Help! Stuck at /etc/init.d/network restart

Post by yura.lesn »

Strange,but i've just rebooted the "OpenWrt"-router, and recieved connection.

But,i can't connect to my main router when i have WPA2. Is there possibility to connect to WPA-PSK/WPA2-PSK? or if i would like to connect to WPA,what should i put here :"Radius Server IP:"?
Post Reply