|
||||||||
Sorry Peter, I did not use the DSL300T, I was only informed that it works as a half-bridge modem. I would suggest though that you try changing the 'Type' to Bridge on your PPP Connection Setup page. Not sure if that will work, but apparently when this modem is bridging it has the same problems with m0n0 as mine, so you may still find the patched script useful :) Sorry about the busted link, for anyone who is interested here it is again... www.weymouthwireless.co.uk/downloads/dhclient-script Simply use the exec.php page to put this script in the /sbin location, replacing the current file (which will be restored after a reboot). Regards, Adam. -----Original Message----- From: Peter Curran [mailto:peter at closeconsultants dot com] Sent: 11 November 2004 23:22 To: Adam Wilks Subject: Re: [m0n0wall] Half-bridge modem routing fix Adam Did you use a DSL300T ? If so, could you tell me what config you used to get it to pass thru the real address? Many thanks Peter On Thursday 11 November 2004 17:06, Adam Wilks wrote: > Hi, > > Some time back I started talking to some people about types of ADSL > modem which can be used to pass the public WAN IP address to m0n0’s > interface. Some suggestions were the X-Modem and also the DLink DSL300T. > > The issue with using such half-bridge modems with m0n0 is that after an > IP change two commands need to be issued to correct the routing table > (as suggested by Chris Bagnall). After much frustration and tinkering, I > have produced a patched file which automates this :) > > Thought I would share it with anyone who is experiencing the same > problems, and it can be downloaded here… > > HYPERLINK > "http://www.weymouthwireless.co.uk/downloads/dhclient-script"http://www. > weymouthwireless.co.uk/downloads/dhclient-script > > The file contains these extra lines of code… > > route delete default >/dev/null 2>&1 > route add default -interface -link rl1 >/dev/null 2>&1 > $LOGGER "X-Modem fix executed from /sbin/dhclient-script" > > This may be a ‘clumsy’ approach, I am no expert so please feel free to > improve it for me :) > > Any chance there could be a future release of m0n0 with an option on the > GUI for this? > > Regards, > > Adam. > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004 -- ------------------------------------------------------------------------ ---- Peter Curran Leveraging Internet Technology Close Consultants for Businesses p: +44-1225-463700 f: +44-1225-463705 e: peter at closeconsultants dot com sip: peter at closeconsultants dot com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.2.1 - Release Date: 10/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.2.1 - Release Date: 10/11/2004 |