Both eth0 and ra0 attached to Ethernet??

This forum is for all other ARMv5 devices

Both eth0 and ra0 attached to Ethernet??

Postby estratos » Tue Jan 17, 2012 9:14 am

Hi all! New user here!

In order to enable wifi in my PogoPlug Pro, I've been following this how-to page:
viewtopic.php?f=29&t=2031

The only difference is that I'm using WEP instead of WPA encryption. Well, everything seemed to work since ra0 was created at startup without apparent problems, but then I realized that ra0 was in fact attached to Ethernet and not to the wifi port:

$this->bbcode_second_pass_code('', '
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.21 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::225:31ff:fe00:fe2d prefixlen 64 scopeid 0x20<link>
ether 00:25:31:00:fe:2d txqueuelen 1000 (Ethernet)
RX packets 1781 bytes 115702 (112.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 104 bytes 15042 (14.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 28 bytes 2092 (2.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 2092 (2.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ra0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::76f0:6dff:fe46:b39 prefixlen 64 scopeid 0x20<link>
ether 74:f0:6d:46:0b:39 txqueuelen 1000 (Ethernet)
RX packets 1684 bytes 178553 (174.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 588 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 51
')

So I have now two interfaces attached to the same Ethernet port. Whenever I unplug Ethernet I loose both connections to my PogoPlug.

This is the portion of rc.conf where both interfaces and gateways are created:

$this->bbcode_second_pass_code('', '
#Static IP example
eth0="eth0 192.168.1.21 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
ra0="ra0 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0 ra0)

gateway_eth0="default gw 192.168.1.1 metric 0 dev eth0"
gateway_ra0="default gw 192.168.1.1 metric 1 dev ra0"
ROUTES=(gateway_eth0 gateway_ra0)
')

On the otehr hand, the above tutorial asks to do this:
$this->bbcode_second_pass_code('', '
/bin/cp -rfv /tmp/ce/etc/Wireless/RT2860STA /etc/Wireless
')

whilst the wireless driver is rt3390sta and not rt2860sta. Could this be the source of the problem?

Any suggestion is welcome! Thanks!

Daniel.
estratos
 
Posts: 4
Joined: Tue Jan 17, 2012 9:01 am

Re: Both eth0 and ra0 attached to Ethernet??

Postby emkay » Tue Jan 17, 2012 10:04 am

Let me qoute WarheadsSE:

$this->bbcode_second_pass_quote('', 'P')eople, please read up on multiple network connections, routes, etc.


EmKay
emkay
 
Posts: 12
Joined: Wed Nov 30, 2011 10:45 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest