Ian Stirling <(E-Mail Removed)> writes:
> I'm sure there is something really simple I've missed.
> [...]
> Now, why doesn't
> ifconfig eth0 2.2.2.2
> (with "ppp half bridge") just work?
>
> I shouldn't need dchp or anything, as the IP is static...
> Confused.
It would appear that the Conexant based modems _require_ the use of
DHCP when using PPP half bridge (I am using an Dabs Value, aka Origo,
in this mode). I don't see any reason why with a static IP, but that
seems to be the way it works.
I've also found the router very fussy about the order things happen,
otherwise it drops the ADSL connection. For example, if my Linux machine
is rebooted, or DHCP is attempted before the router has authenticated,
the connection is dropped.
The main IP address for the interface is allocated by the router using
DHCP (which has a rediculously low renewal time, despite being configured
as static). I have an alias "eth0:0" with the IP address 10.0.0.1, so
I can reach the router on 10.0.0.2, with the client considered to be a
connection from the LAN.
To keep things ticking over, I have a script that pulls back the router
syslog, and if the connection has been lost, it attempts to reconnect
as follows. The router is set to reboot, and the interfaces taken down
for 60 seconds. This allows time for the router to reboot, connect and
authentcate before the Linux DHCP client starts up. This keeps it happy.
--
`O O' |
(E-Mail Removed)
// ^ \\ |
http://www.pyrites.org.uk/