The actual process was a damn sight easier than that blinking instructions suggested.
Get yourself OpenBSD4.6 & install it
Get your source from http://speedtouch.sourceforge.net/
I used vers 1.3.1 which hasn't seen an update for years which is good.
The Thompson drivers have moved to http://www.thomson.net/GlobalEnglish/Deliver/In-Home-Digital-Distribution/Telco-ISP/dsl-modems-gateways/residential_wired/other_supported_products/thomson_st330/Pages/default.aspx
Though I got mine pre-packaged from here
http://speedtouch.hysplace.co.uk/latest/Kqd6_3.012
I chopped all of the usb startup out of speedtouch-start :
# Goal: Start the connection
# Ensure to have a working PATH
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
# check for root privileges
#
# FIRMWARE_LOADER_FILE
# FIRMWARE_FILE
# PPPD_PEER
#
if [ -f /etc/speedtouch/speedtouch.conf ]; then
  . /etc/speedtouch/speedtouch.conf
fi
the rest was the same
speedtouch.conf is
FIRMWARE_LOADER_FILE="/etc/speedtouch/Kqd6_3.012"
FIRMWARE_FILE="/etc/speedtouch/Kqd6_3.012"
MODEM_RUN_OPTIONS=""
PPPD_PEER=speedtouch-pppoa
/etc/ppp/chap-secrets isn't :>
"alphas@example.dsl" "*" "W00t"/etc/ppp/ppp.conf
these are supposed to be indented with just the ones with a colon in column zero, like a c label
default:
        ident user-ppp
        set log Phase Chat IPCP CCP tun command
        set ifaddr 10.0.0.1/0 10.0.0.2/0
adsl:
        set authname alphas@example.dsl
        set authkey W00t
        set device !"/usr/local/sbin/pppoa2 -vpi 0 -vci 38 -v 1"  # find your own, this is BT UK on griffin adsl
        accept chap
        set speed sync
        set timeout 0
        set redial 15 10000
        set dial ""
        add default HISADDR
        enable dns
Connection:
/etc/rc.local
/usr/local/bin/speedtouch-start
ppp -nat -ddial adsl
/etc/sysctl.conf
net.inet.ip.forwarding=1        # 1=Permit forwarding (routing) of IPv4 packets
net.inet6.ip6.forwarding=1      # 1=Permit forwarding (routing) of IPv6 packets
 
No comments:
Post a Comment