Jump to content


Photo

Wifi + lan strange behaviour

DM800

  • Please log in to reply
2 replies to this topic

#1 dumb

  • Senior Member
  • 62 posts

0
Neutral

Posted 29 July 2011 - 18:15

config files:

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto ra0
iface ra0 inet static
address 192.168.2.20
netmask netmask 255.255.255.0
gateway 192.168.2.1
wpa-driver ralink
wpa-conf /etc/wpa_supplicant.conf

/etc/wpa_supplicant.conf
network {
ssid="xxxxxxxxxxxxx"
psk="xxxxxxxxxxxxx"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
group=CCMP
}

Situation:
If I have lan cable plugged and wifi stick plugged after restart none of connections work.
If I remove wifi stick, lan starts to work, than I plug in wifi stick and do "ifdown ra0 and ifup ra0", wifi starts to work too.
Reboot, none working....

Any1 can help??

Re: Wifi + lan strange behaviour #2 dumb

  • Senior Member
  • 62 posts

0
Neutral

Posted 29 July 2011 - 18:35

My point is to have dm800 only on wifi coneection using rt3070 working on every boot, configuration is good (I think) because if I manually do up to wifi interface it's working. It's not working after reboot. I've tried using gemini with no success. Using openpli2.0 I did it once, but I can't reproduce it, I remember that I've played with "default connection" in menu...

When I do configuration using menu, I must fix interfaces file because enigma2 doesn't recognize driver for wpa_supplicant (-Dwext should be -Dralink) and I must do #pre-up line with setting ssid.

Even if I correct all files and ifup ra0 manually all is ok, after reboot it stops to work...

Re: Wifi + lan strange behaviour #3 dumb

  • Senior Member
  • 62 posts

0
Neutral

Posted 30 July 2011 - 07:56

Finally I've found solution after few hours, thanks to someone who made original file /etc/network/interfaces.

Enigma generates wrong /etc/network/interfaces for wifi (for rt3070sta module)

simply do in interfaces file (if you are using WPA-PSK or WPA2-PSK)

auto ra0
iface ra0 inet static
address 192.168.2.20
netmask 255.255.255.0
gateway 192.168.2.1
wpa-essid xxxxxxxxxxxxx
wpa-psk xxxxxxxxxxxx


Case closed



Also tagged with one or more of these keywords: DM800

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users