Spend two days on this [sigh] a slightly different approach from nenonano with the same result
Working fine on two test boxes as far I can see from the logs, but do let me know if this is not the SME friendly way.
Tested on
HP E-pc 42
HP E-Vectra (a little gem, power bill for 90 days $8.50AUD, measured)
Howto
SME Server 7.3 USB gateway nic setup for pppoe.
With this howto the USB nic will be use as the external interface.
Config the server as per normal for dialup use.
Choose"Private server and gateway" and select "Server and gateway dialup".
Enter username, password, com port, etc and dial up number (any number, must be at lease 10 digits)
After the reboot login to the console run this command and then plugin the USB nic.
# tail -f /var/log/messages
You should see output similar to this. In my case its using rtl8150 driver.
kernel: usb 5-2: new full speed USB device using address 3
kernel: drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected
kernel: divert: allocating divert_blk for eth1
If not check Bios setting and or use a different chipset USB nic.
Update SME database configuration with the new driver.
# /sbin/e-smith/db configuration settype EthernetDriver2 rtl8150
Also, update these.
# /sbin/e-smith/db configuration settype AccessType dedicated
# /sbin/e-smith/db configuration setprop ExternalInterface Configuration static
# /sbin/e-smith/db configuration setprop pppoe DemandIdleTime no
# /sbin/e-smith/db configuration setprop pppoe SynchronousPPP no
# /sbin/e-smith/db configuration setprop pppoe status enabled
To check your work.
# /sbin/e-smith/db configuration show |more
Create a file and save it to load the driver on startup.
# pico /etc/e-smith/events/actions/module-load
#--------------------------------/snip/---------------------------------
#!/bin/sh
# Edit/add module driver here
DRIVER1=rtl8150
# Custom initialisation for modules
echo Loading additional modules...
/sbin/modprobe $DRIVER1
#--------------------------------/snip/---------------------------------
Set permissions and add symbolic link.
# chmod 554 /etc/e-smith/events/actions/module-load
# ln -s /etc/e-smith/events/actions/module-load /etc/e-smith/events/local/S20module-load
Optional (a moment to yourself)
# sleep 10
Cross fingers and activate changes with signal event.
# signal-event post-upgrade; signal-event reboot
After the reboot, SME will start pppoe and populate IP fields and expand relevant templates.
Note: reconfiguring the server from the admin screen will drop your new db settings. You need to run the db commands again and signal event.
Thx
Steve