Page 2 of 2

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

Posted: Wed Aug 15, 2012 11:34 am
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?

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

Posted: Fri Aug 17, 2012 2:30 am
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.

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

Posted: Sat Aug 18, 2012 7:49 am
by yura.lesn
But how should i get connection?
I can't ping anything..

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

Posted: Sun Aug 19, 2012 10:27 am
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'

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

Posted: Sun Aug 19, 2012 10:34 am
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:"?