Problem with telnet

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
janw
Posts: 10
Joined: Sun Nov 28, 2010 1:46 pm

Problem with telnet

Post by janw »

hi all,

I have a problem:

When I telnet the router via the LAN1, then it seems that the router has problems with connection to the wifi -network. So I can’t play any music. The airlight is on continously but when I ask for the status in mpd, it reports that it has troubles opening the http-adress.

My settings are:

network

#### LAN configuration
config interface lan
#option type bridge
option ifname “eth0.0″
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0

#### WAN configuration
config interface wan
option ifname “eth0.1″
option proto dhcp

wireless

config wifi-device wl10
option type broadcom
option channel 11

config wifi-iface
option device wl10
option network wan
option mode sta
option ssid netgear
option encryption psk
option key XXXXXXXX

firewall

config zone
option name wan
option input ACCEPT
option output ACCEPT
option forward REJECT
option masq 1

When I change the network settings to:

config interface lan
option type bridge
option ifname “eth0.0″
option proto dhcp
#option ipaddr 192.168.1.1
#option netmask 255.255.255.0

then I can’t telnet but I can play music via the terminal and everyhing seems to work fine

Any ideas on how to make it work via telnet?
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problem with telnet

Post by mightyohm »

I'm not sure what is going on here, and why changing to a bridged setup on the LAN side fixes your connectivity problems.

Telnet is probably working fine when you are in bridged mode, you just need to figure out what IP address the router is using.

You could try changing the LAN IP to a different subnet, like 192.168.24.1, and see if that changes anything...

What happens if you try to ping a site like google.com when you have the network set up the first way, without bridging turned on?
janw
Posts: 10
Joined: Sun Nov 28, 2010 1:46 pm

Re: Problem with telnet

Post by janw »

Thanks Jeff for your answer. I've been seriously ill the last week so I didn't have time to look into it. As soon as my brain starts to work again, I will try pinging a site and I will update you on the results.

Jan
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problem with telnet

Post by mightyohm »

Ok. Get better and let me know what happens, and we'll get this figured out eventually.
bahkyp
Posts: 1
Joined: Tue Dec 14, 2010 3:55 pm

Re: Problem with telnet

Post by bahkyp »

Are you sure no other NIC has 192.168.1.1? You are not just changing to bridge mode, you are setting the IP to 192.168.1.1 and this may be the problem. Try a higher number.
janw
Posts: 10
Joined: Sun Nov 28, 2010 1:46 pm

Re: Problem with telnet

Post by janw »

Thanks a lot! I did set a different subnet and all troubles are gone.
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problem with telnet

Post by mightyohm »

A different subnet for the LAN ports on the router?


Congrats. :D
janw
Posts: 10
Joined: Sun Nov 28, 2010 1:46 pm

Re: Problem with telnet

Post by janw »

changed the Lan setting to 192.168.24.1 and it works fine
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problem with telnet

Post by mightyohm »

Thanks for sharing your result, and again, congratulations on getting the router talking on your network. :D
Post Reply