githubashto / xpud

Automatically exported from code.google.com/p/xpud
0 stars 0 forks source link

Ethernet auto connect problem #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put the andreasl.opt or drivers.opt in /opt folder
2. Booted xPUD, went to settings, wired connection/ethernet, pppoe 
3. Entered user ID & pwd.

What is the expected output? What do you see instead?
expected= connect to INTERNET. Saw= connection happens only sometimes (~50%
success rate out of numerous tries)

What version of the product are you using? On what operating system?
0.9.2 xPUD

Please provide any additional information below.

ALSO, IS THERE ANY WAY TO AUTO CONNECT TO INTERNET (VIA WIRED CONNECTION
PPPOE) every time upon booting of xPUD??? please help! 

Original issue reported on code.google.com by vetrith...@gmail.com on 17 May 2010 at 12:19

GoogleCodeExporter commented 9 years ago
?HAve you tried with the command line to see if there are any error message ?
Please contact us through forum or irc, I could help you step-by-step ...
https://help.ubuntu.com/community/ADSLPPPoE

Original comment by tvel...@gmail.com on 17 May 2010 at 12:44

GoogleCodeExporter commented 9 years ago
9.2 verson run/boot from hard drive.

First time, default, the interface will be eth0... n also default to dhcp
after reboot with backup, eth0 will be eth1, eth2.. (number will be increased 
of each backup) check it on /et/udev/rules.d/70-persistent-net.rules

Hence DHCP will not be working.. only look for eth0

save following script to any file name n make sure chmod u+x it for execution

then place it in /etc/post-boot.d/script that u named
make sure reboot with backup to keep the post-boot.d changed else it will lost

DHCP LAN will be automatic set. check it on setting panel/ system/network tab.
DHCP will connected if xPUD finished it own loading..

cheers!

James Chong

#!/bin/bash
AA=$(grep -c "eth[0-9]" /etc/udev/rules.d/70-persistent-net.rules);
BB=1;
CC=eth$(echo $AA-$BB | bc);
clear;
echo; echo $CC; echo;  

udhcpc -i $CC
echo
#update-menus
echo

Original comment by jamesch...@tpg.com.au on 9 Mar 2015 at 1:26