RE this problem (hmm about an eon ago due to a broken modem...) I found the solution on the RHA support web forum.
Go to /etc/ppp/options and add
novj novjccomp
in there. Works fine now.
Currently using linuxconf, with a masq 'gateway' working. Next step is using wvdial (so it redials when busy) and then dial-on-demand.
Nice.
Neil
MJ Ray wrote:
On Sun, Apr 16, 2000 at 01:24:35AM +0100, Neil Sedger wrote:
No, I don't think so, because I've never had a problem on Windoze... and I've never tried a different ISP on Linux... Have you?
Yes, I have at least 7 other ISPs working fully with Linux. I have not had Windoze on my home machine for well over two years now.
Is it RedHotAnt that give us this problem?
Yes.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Neil Sedger wrote:
novj novjccomp in there. Works fine now.
Still didn't work here. Still claiming the money back. I'm guessing they have different racks handling different (groups of) exchanges and no common configuration system.
Next step is using wvdial (so it redials when busy) and then dial-on-demand.
Redial when busy and dial-on-demand can be done with pppd alone.
MJ Ray wrote:
[SNIP]
Next step is using wvdial (so it redials when busy) and then dial-on-demand.
Redial when busy and dial-on-demand can be done with pppd alone.
I thought wvdial didn't do dial-on-demand... Has that functionality been added?
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Laurie Brown wrote:
MJ Ray wrote:
[SNIP]
Next step is using wvdial (so it redials when busy) and then dial-on-demand.
Redial when busy and dial-on-demand can be done with pppd alone.
I thought wvdial didn't do dial-on-demand... Has that functionality been added?
no... those were two separate things I was going to try :-)
wvdial redials if busy whereas the config file linuxconf leaves me with doesn't. But I skipped that by writing a script to call chat and loop till it gives a non-zero RC.
I tried both diald and PPP's 'demand' modes, but named seems to randomly decide to talk to its forwarding DNS quite often so the link's up and down all day.
I ended up changing sendmail config files and starting/stopping fetchmail from ip-up and ip-down.
Not ideal though, I still need a way to initiate PPP from a Windoze client without telnetting in and running my script...
Neil
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
On Thu, 18 May 2000, Neil Sedger wrote:
But I skipped that by writing a script to call chat and loop till it gives a non-zero RC.
pppd will do this, look at the holdoff, persist and demand options.
I tried both diald and PPP's 'demand' modes, but named seems to randomly decide to talk to its forwarding DNS quite often so the link's up and down all day.
In the options part of /etc/named.conf add dialup yes; eg: options { directory "/var/named"; recursion yes; dialup yes; };
[...]
Not ideal though, I still need a way to initiate PPP from a Windoze client without telnetting in and running my script...
Set up ip_masq'ing/nat, demand dialing with pppd and start/stop pppd from a crontab, configure windows to use the nix box as a dns and gateway.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Not ideal though, I still need a way to initiate PPP from a Windoze client without telnetting in and running my script...
Set up ip_masq'ing/nat, demand dialing with pppd and start/stop pppd from a crontab, configure windows to use the nix box as a dns and gateway.
Or use the bodge I do, I have PPP set to redial if the link fails, all I do is when I want to disconnect, I pull the power lead out the modem, when I want to reconnect I plug it back in again. Piece of piss :-)
Crude but effective (me in a nutshell) :-)
xsprite@bigfoot.com wrote:
pppd will do this, look at the holdoff, persist and demand options.
Yup got it doing that now... well without holdoff can't see why I'd want that...
In the options part of /etc/named.conf add dialup yes; eg: options { directory "/var/named"; recursion yes; dialup yes; };
Cheers muchly!
[...]
Not ideal though, I still need a way to initiate PPP from a Windoze client without telnetting in and running my script...
Set up ip_masq'ing/nat, demand dialing with pppd and start/stop pppd from a crontab, configure windows to use the nix box as a dns and gateway.
Masq wWorking... but why would I want to start/stop pppd from cron? why not put it in a bootup rc somewhere?
BTW, which bootup rc file should it be, and which one is currently setting my /proc/sys/net/ipv4/ip_forward to 0 every restart?
It would be useful if there was a tool to tell Windoze when the link had gone up/down so that ICQ would take itself offline nicely and GetRight would stop/start its downloads...? Some sort of fake DUN tool?
Cheers muchly Neil
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
On Tue, May 23, 2000 at 09:13:48PM +0100, Neil Sedger wrote:
It would be useful if there was a tool to tell Windoze when the link had gone up/down so that ICQ would take itself offline nicely and GetRight would stop/start its downloads...? Some sort of fake DUN tool?
You could always write a C program for windows that took the gateway out when the link goes down? If windows is sane (um. that's probably nuked this idea then) it should be enough to kick the other programs.
Paul
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
[...]
Not ideal though, I still need a way to initiate PPP from a Windoze client without telnetting in and running my script...
Set up ip_masq'ing/nat, demand dialing with pppd and start/stop pppd from a crontab, configure windows to use the nix box as a dns and gateway.
Masq Working... but why would I want to start/stop pppd from cron? why not put it in a bootup rc somewhere?
The idea of starting/stopping from cron was to provide more control over when the box is dialed in. For example if you killed pppd at say midnight and started it at 9am, named or any other network daemon could not cause pppd to dial up, running up your phone bill (assuming you're using a pay per minute one). pppd also sometimes totally exits, so if you put it in the boot up scripts only it will not restart if it dies, unless you reboot or manually restart it.
BTW, which bootup rc file should it be, and which one is currently setting my /proc/sys/net/ipv4/ip_forward to 0 every restart?
With slackware /etc/rc.d/rc.inet2, under redhat /etc/rc.d/init.d/network.
It would be useful if there was a tool to tell Windoze when the link had gone up/down so that ICQ would take itself offline nicely and GetRight would stop/start its downloads...? Some sort of fake DUN tool?
I would think something that viewed the linux masq table (ipchains -ML) and killed each connection by spoofing the packets. You could write a simple shell script that uses the output from ipchains -ML, and nemesis (http://www.packetfactory.net/Projects/Nemesis), and send each tcp connection a spoofed RST, each udp connection an icmp port unreachable.. this is probably excessive for your purposes :)
There appear to be serveral programs that perform remote ppp link control from a win box at freshmeat.net. They may also create, as you put it, a fake DUN connection, hence something like ICQ would see the interface drop and restart (?)
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
xsprite@bigfoot.com wrote:
The idea of starting/stopping from cron was to provide more control over when the box is dialed in. For example if you killed pppd at say midnight and started it at 9am, named or any other network daemon could not cause pppd to dial up, running up your phone bill (assuming you're using a pay per minute one).
Ah I see... however I have a free connection (RedHotAnt) so have no problem with it connecting whenever I (or a housemate's machine) needs it to. I assume that 'dialup' option I added to named will stop it trying to connect to the internet when it feels like it?
pppd also sometimes totally exits, so if you put it in the boot up scripts only it will not restart if it dies, unless you reboot or manually restart it.
hmm maybe I should write a script, called from /etc/rc.d/init.d/network, that loops round starting pppd in case it exits??
BTW, which bootup rc file should it be, and which one is currently setting my /proc/sys/net/ipv4/ip_forward to 0 every restart?
With slackware /etc/rc.d/rc.inet2, under redhat /etc/rc.d/init.d/network.
Cheers! (I have RedHat...)
There appear to be serveral programs that perform remote ppp link control from a win box at freshmeat.net. They may also create, as you put it, a fake DUN connection, hence something like ICQ would see the interface drop and restart (?)
Cheers... checking those out...
...
I noticed that even with idle time set the link wasn't going down... I ran tcpdump to see what it is, and it seems ICQ says 'hello' to the server every minute, and Netscape grabs mail every 10. So, add a filter to pppd, so it doesn't count those connections in its idle timer... using tcpdump I made a filterstring to use with pppd option 'active-filter' -, but according to the pppd man: 'This option is cur rently only available under NetBSD' :-/
Anything else I can try?
Cheers Neil
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Ah I see... however I have a free connection (RedHotAnt) so have no problem with it connecting whenever I (or a housemate's machine) needs it to. I assume that 'dialup' option I added to named will stop it trying to connect to the internet when it feels like it?