ralphy wrote:
>
> Are you using bonding? I've noticed that sometimes it takes a longer
> time to connect via ssh to my aopen with it enabled?
>
Sort of, I'm not doing any network config at all at boot time currently.
My thought for this car project was:
- Start the car, aopen boots, no boot time network interface
configuration, LMS (with local media), squeezelite, and jivelite should
function normally on 127.0.0.1.
- For external connectivity, boot as above but then enable phone
hotspot, have an app launcher on the aopen run a network config script
- Much less frequently, I may want to dismount the aopen and bring it
inside, in which case I may also want to connect to ethernet instead of
wifi
The bond interface was to account for the last use case - but so far,
the aopen hasn't left my desk and I've only been using the ethernet
port. I haven't tested swapping back and forth between wifi and ethernet
yet. That said, the bond interface with ethernet connectivity works well
and I haven't noticed any ssh delay?
The bond commands I'm using I put into a script, though this will need a
lot of work to be robust in production!
Code:
--------------------
#!/bin/sh
ip link add bond0 type bond
ip link set bond0 type bond miimon 100 mode active-backup
ip link set eth0 master bond0
ip link set mlan0 master bond0
ip link set bond0 up
udhcpc -i bond0
rc-service lms restart
--------------------
------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=115923
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter