Networking Forums

Networking Forums > Computer Networking > Broadband > I'm being stupid (linux)

Reply
Thread Tools Display Modes

I'm being stupid (linux)

 
 
Ian Stirling
Guest
Posts: n/a

 
      11-14-2003, 11:31 PM
I'm sure there is something really simple I've missed.
I have a origo asr-8100 ethernet modem/router.
(I am aware of the security problem with this router, and have
fixed it)

It's currently working fine as a gateway.
I'd like to turn on "ppp half bridge" and get my server onto the
net properly, so it can accept connections easily.
I have a static IP from plusnet. (call it 2.2.2.2)
The router is on IP 10.0.0.2

Setting up the router and doing
route add 10.0.0.2 eth0
route add default gw 10.0.0.2

works with the modem in its default mode, and outbound connections
just seem to work.

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.
Any help would be welcomed.
 
Reply With Quote
 
 
 
 
Nick Holloway
Guest
Posts: n/a

 
      11-14-2003, 11:55 PM
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/
 
Reply With Quote
 
Ian Stirling
Guest
Posts: n/a

 
      11-15-2003, 12:23 AM
Nick Holloway <(E-Mail Removed)> wrote:
> 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.


"It works with windows, ship it".
Oh well.
As I seem to have no dchp client software, I suspect I'll be downloading it tomorrow.
Thanks.

Another interesting feature of this router seems to be that if you use mozilla as your browser
(I'm using a 4 week old build) you can't actually see anything other than the username/password
prompt on the router login screen.
Not to mention the unpassworded WAN visible telnet interface which lets anyone turn
off your internet.

 
Reply With Quote
 
Ian
Guest
Posts: n/a

 
      11-15-2003, 07:17 AM

"Ian Stirling" <(E-Mail Removed)> wrote in message
news:Xdftb.8521$(E-Mail Removed)...
> Nick Holloway <(E-Mail Removed)> wrote:
> > 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.

>
> "It works with windows, ship it".
> Oh well.
> As I seem to have no dchp client software, I suspect I'll be downloading

it tomorrow.
> Thanks.
>
> Another interesting feature of this router seems to be that if you use

mozilla as your browser
> (I'm using a 4 week old build) you can't actually see anything other than

the username/password
> prompt on the router login screen.
> Not to mention the unpassworded WAN visible telnet interface which lets

anyone turn
> off your internet.
>


I had one of these working no probs with Linux.
as to the router login you need to change the port. then as long as no one
knows it you are Ok or use DMZ.
as to putting your server on the web why dont you forward the reqd ports
this much safer personally I just forward port80 for
my webmail server and thats it.

What Linux build do you have that doesnt have DHCP as part of the standard
build.?

Ian

PS If you want a decent gateway look at e-smith


 
Reply With Quote
 
Mugwump
Guest
Posts: n/a

 
      11-15-2003, 08:13 AM
In article <Xdftb.8521$(E-Mail Removed)>, Ian Stirling
said......

> Nick Holloway <(E-Mail Removed)> wrote:
> > 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.

>
> "It works with windows, ship it".
> Oh well.
> As I seem to have no dchp client software, I suspect I'll be downloading it tomorrow.
> Thanks.
>
> Another interesting feature of this router seems to be that if you use mozilla as your browser
> (I'm using a 4 week old build) you can't actually see anything other than the username/password
> prompt on the router login screen.
> Not to mention the unpassworded WAN visible telnet interface which lets anyone turn
> off your internet.
>
>

To get to the other setup bits in an Origo, browse to
http://10.0.0.2/doc/advance.htm (assuming your router is 10.0.0.2).
Should work in any browser.
--
Mugwump

Reply-to address is ignored.
Reply to 'usenetmail{at}discworld{dot}org{dot}uk
 
Reply With Quote
 
Ian G
Guest
Posts: n/a

 
      11-15-2003, 08:19 AM
Ian Stirling wrote:

> I'm sure there is something really simple I've missed.
> I have a origo asr-8100 ethernet modem/router.
> (I am aware of the security problem with this router, and have
> fixed it)
>
> It's currently working fine as a gateway.
> I'd like to turn on "ppp half bridge" and get my server onto the
> net properly, so it can accept connections easily.
> I have a static IP from plusnet. (call it 2.2.2.2)
> The router is on IP 10.0.0.2
>
> Setting up the router and doing
> route add 10.0.0.2 eth0
> route add default gw 10.0.0.2
>
> works with the modem in its default mode, and outbound connections
> just seem to work.
>
> 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.
> Any help would be welcomed.


Does the router alow you to alter the dhcp address range ,cisco and my
draytek do ,then add your server in the excluded range.

I do this so I can connect my laptop without setting the IP up but static
computers are not on the dhcp.

--
Outgoings certified Microsoft free
Checked with Suse 9
 
Reply With Quote
 
Ian Stirling
Guest
Posts: n/a

 
      11-15-2003, 10:25 AM
Ian <(E-Mail Removed)> wrote:
>
> "Ian Stirling" <(E-Mail Removed)> wrote in message
> news:Xdftb.8521$(E-Mail Removed)...
>> Nick Holloway <(E-Mail Removed)> wrote:
>> > 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,

<Snip>
>> Not to mention the unpassworded WAN visible telnet interface which lets

> anyone turn
>> off your internet.


> I had one of these working no probs with Linux.
> as to the router login you need to change the port. then as long as no one
> knows it you are Ok or use DMZ.


You can set a password on the telnet interface, I don't think you can change
the port, though you can add rules to forward it to nowhere.

> as to putting your server on the web why dont you forward the reqd ports
> this much safer personally I just forward port80 for
> my webmail server and thats it.


Because I want to be able to run random stuff without fiddling with the
router.
There are no servers running as root on the box, all as untrusted users.
>
> What Linux build do you have that doesnt have DHCP as part of the standard
> build.?


Slackware (7?) with bits added as I need them.

 
Reply With Quote
 
Ian Stirling
Guest
Posts: n/a

 
      11-15-2003, 10:32 AM
Ian <(E-Mail Removed)> wrote:
>
> "Ian Stirling" <(E-Mail Removed)> wrote in message
> news:Xdftb.8521$(E-Mail Removed)...
>> Nick Holloway <(E-Mail Removed)> wrote:
>> > 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,

<snip>
> I had one of these working no probs with Linux.
> as to the router login you need to change the port. then as long as no one
> knows it you are Ok or use DMZ.


Could you please send me your email address, I need to send you something.
Thanks.

 
Reply With Quote
 
Ian
Guest
Posts: n/a

 
      11-15-2003, 12:08 PM

"Ian Stirling" <(E-Mail Removed)> wrote in message
news:Q8otb.8641$(E-Mail Removed)...
> Ian <(E-Mail Removed)> wrote:
> >
> > "Ian Stirling" <(E-Mail Removed)> wrote in message
> > news:Xdftb.8521$(E-Mail Removed)...
> >> Nick Holloway <(E-Mail Removed)> wrote:
> >> > 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,

> <snip>
> > I had one of these working no probs with Linux.
> > as to the router login you need to change the port. then as long as no

one
> > knows it you are Ok or use DMZ.

>
> Could you please send me your email address, I need to send you something.
> Thanks.
>


Change the name to anything and i will get it. it may be filtered by qmail
but i will be notified.
Ian



 
Reply With Quote
 
Ian Stirling
Guest
Posts: n/a

 
      11-15-2003, 02:05 PM
Nick Holloway <(E-Mail Removed)> wrote:
> 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.

<snip>
> 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.


Any chance of mailing me the various config files/scripts, so I can at least
get an idea of what a working config looks like?

Many thanks for the help.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stupid sky! lol Beck Broadband 3 03-12-2007 01:11 PM
Am I being stupid? ukwizkid Wireless Internet 14 08-03-2006 08:42 PM
I am stupid Jorge Wireless Networks 2 10-11-2005 04:36 PM
stupid question...I know... kdmercc Wireless Networks 2 02-28-2005 09:40 PM
Some - probably stupid - questions Shaun McCann Broadband 29 08-02-2003 07:37 PM



1 2 3 4 5 6 7 8 9 10 11