Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-11 Thread Brad Kowalczyk
DaZZa wrote:
On Sat, 11 Dec 2004, Brad Kowalczyk wrote:
 

Thanks for the suggestions Dazza (and Grant) and googling on my behalf
:)  but unfortunately the problem still exists. I have been persisting
for so long with Linux with the main problem always having been internet
conectivity. When I finally got Fedora to dial, connect, stay connected
and then visit my first webpage on Linux I thought I could finally make
the switch, but alas some other problem arises! I think I am cursed,  I
must have unwillingly sold my soul to MS when accepting some EULA of
theirs :P
   

This could still be caused by a hardware problem of some sort - you don't
mention what kind of modem you have doing the dialing, or how it conects
to your computer - if you have some kind of winmodem or internal modem, do
you have any chance of borrowing an external modem and trying with that?
 

The modem is a NetComm Roadster II 56 Ultra SVD connected via serial port.
Also, what are you using do actually do the dialing? How do you establish
the connection?
 

just using the 'Network Device Control' under GNOME to activate the ppp0 
interface

How long {time wise} does it take for the connection to stop working?
 

usually around 1 - 1.5 minutes but ATM it has been up for 12 minutes and 
is still working ?!

Cheers,
Brad

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-10 Thread Brad Kowalczyk
DaZZa wrote:
OK - a quick google seems to indicate that there's a problem with your
kernel buffer space.
ulimit -s 10240
is the suggested fix I found - but I'm not guaranteeing this is right.
As to how to fix this permanently - if this is indeed the problem - I have
no idea. JFGI, I would suggest.
DaZZa
 

Thanks for the suggestions Dazza (and Grant) and googling on my behalf 
:)  but unfortunately the problem still exists. I have been persisting 
for so long with Linux with the main problem always having been internet 
conectivity. When I finally got Fedora to dial, connect, stay connected 
and then visit my first webpage on Linux I thought I could finally make 
the switch, but alas some other problem arises! I think I am cursed,  I 
must have unwillingly sold my soul to MS when accepting some EULA of 
theirs :P

BTW Is there any way to flush the buffer manually, or is this a really 
bad idea?

I started a ping from the time my connection came up:
[EMAIL PROTECTED] ~]$ ping 210.49.224.254
PING 210.49.224.254 (210.49.224.254) 56(84) bytes of data.
64 bytes from 210.49.224.254: icmp_seq=0 ttl=255 time=281 ms
64 bytes from 210.49.224.254: icmp_seq=1 ttl=255 time=190 ms
64 bytes from 210.49.224.254: icmp_seq=2 ttl=255 time=182 ms
snipped
64 bytes from 210.49.224.254: icmp_seq=34 ttl=255 time=362 ms
64 bytes from 210.49.224.254: icmp_seq=35 ttl=255 time=191 ms
64 bytes from 210.49.224.254: icmp_seq=36 ttl=255 time=171 ms
ping: sendmsg: No buffer space available
--- 210.49.224.254 ping statistics ---
69 packets transmitted, 37 received, 46% packet loss, time 87061ms
rtt min/avg/max/mdev = 156.957/215.230/362.926/62.341 ms, pipe 2
Cheers,
Brad
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Brad Kowalczyk
Hi all,
Couple of questions:
1. I got my ubuntu cd's the the other day (BTW the live cd did not work 
for me, seemed to die at X startup, just a black screen) and promptly 
did an install onto a vacant partition on my HD. Everything ran 
smoothly, detected all my hardware and my XP installation. However 
despite XP being on the grub boot list it now refuses to boot. I 
couldn't browse my XP partition with ubuntu (can you? I couldn't find 
it) so I threw in Lindows live cd and all my windows data seems intact. 
So question is does anyone know how I may be able to fix this XP boot 
problem? I installed FC3 over ubuntu hoping that it might somehow fix 
the problem but no luck...

2. I finally managed to get my computer connected to my ISP under Linux 
(ubuntu)  but despite a connection (dialup) I could not actually access 
any address on the net, with either direct IP address or domain name. 
Then after I installed FC3 I treid again and this time I got connected 
and was able to connect to addresses on the net, but only for a few 
minutes before everything came to a halt despite the connection still 
being there. I checked /var/log/messages and there is the following extract:

Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on 
/dev/ttyS0 at 57600
Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0
Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid 
17258)
Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version 
1.54.0
Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem.
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ
Dec 10 09:54:51 localhost wvdial[17856]: ATZ
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 C1 
D2 +FCLASS=0
Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1
Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized.
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT019833
Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier.
Dec 10 09:54:51 localhost wvdial[17856]: ATDT019833
Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400
Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification
Dec 10 09:55:14 localhost wvdial[17856]:  Username: username: login:
Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected.  Chatmode 
finished.
Dec 10 09:55:14 localhost pppd[17843]: Serial connection established.
Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0
Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 -- /dev/ttyS0
Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded
Dec 10 09:55:16 localhost pppd[17843]: local  IP address 210.49.224.133
Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254
Dec 10 09:55:16 localhost pppd[17843]: primary   DNS address 203.2.75.132
Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51

This doesn't seem to indicate any errors, is there somewhere else I 
should look? If anyone has any ideas they would be greatly appreciated, 
before I go mad...

Cheers,
Brad
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Menno Schaaf
check /etc/resolv.conf and make sure the dns servers were properly
added, if they weren't, then add them manually


On Fri, 10 Dec 2004 10:22:10 +1100, Brad Kowalczyk [EMAIL PROTECTED] wrote:
 Hi all,
 
 Couple of questions:
 1. I got my ubuntu cd's the the other day (BTW the live cd did not work
 for me, seemed to die at X startup, just a black screen) and promptly
 did an install onto a vacant partition on my HD. Everything ran
 smoothly, detected all my hardware and my XP installation. However
 despite XP being on the grub boot list it now refuses to boot. I
 couldn't browse my XP partition with ubuntu (can you? I couldn't find
 it) so I threw in Lindows live cd and all my windows data seems intact.
 So question is does anyone know how I may be able to fix this XP boot
 problem? I installed FC3 over ubuntu hoping that it might somehow fix
 the problem but no luck...
 
 2. I finally managed to get my computer connected to my ISP under Linux
 (ubuntu)  but despite a connection (dialup) I could not actually access
 any address on the net, with either direct IP address or domain name.
 Then after I installed FC3 I treid again and this time I got connected
 and was able to connect to addresses on the net, but only for a few
 minutes before everything came to a halt despite the connection still
 being there. I checked /var/log/messages and there is the following extract:
 
 Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on
 /dev/ttyS0 at 57600
 Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0
 Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid
 17258)
 Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version
 1.54.0
 Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 C1
 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT019833
 Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier.
 Dec 10 09:54:51 localhost wvdial[17856]: ATDT019833
 Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400
 Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification
 Dec 10 09:55:14 localhost wvdial[17856]:  Username: username: login:
 Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected.  Chatmode
 finished.
 Dec 10 09:55:14 localhost pppd[17843]: Serial connection established.
 Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0
 Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 -- /dev/ttyS0
 Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded
 Dec 10 09:55:16 localhost pppd[17843]: local  IP address 210.49.224.133
 Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254
 Dec 10 09:55:16 localhost pppd[17843]: primary   DNS address 203.2.75.132
 Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51
 
 This doesn't seem to indicate any errors, is there somewhere else I
 should look? If anyone has any ideas they would be greatly appreciated,
 before I go mad...
 
 Cheers,
 Brad
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Marek Wawrzyczny
On Fri, 10 Dec 2004 10:22, Brad Kowalczyk wrote:
 Hi all,

 Couple of questions:
 1. I got my ubuntu cd's the the other day (BTW the live cd did not work
 for me, seemed to die at X startup, just a black screen) and promptly
 did an install onto a vacant partition on my HD. Everything ran
 smoothly, detected all my hardware and my XP installation. However
 despite XP being on the grub boot list it now refuses to boot.

...

Would you be able to provide the contents of your grub.conf file? You should 
find it inside your /boot/grub dir. Make sure to mount /boot if it is not 
mounted by default.

Regarding browsing your XP partition, it is most likely that your XP 
installation is on a NTFS partition. I don't know Ubuntu, but it may either 
be that NTFS support has not been compiled into the kernel, or as a module, 
or if it has been compiled as a module it is not being loaded. Many linux 
distros now have a module autoloading mechanisms... but again, I don't know 
Ubuntu. Bottom line is, you should be able to browse your NTFS partition. 
Note, AFAIK NTFS should at present be used READ ONLY. Write support is 
preliminary and dangerous. 
I have a second FAT32 windows partition where I store shared files.

 2. I finally managed to get my computer connected to my ISP under Linux
 (ubuntu)  but despite a connection (dialup) I could not actually access
 any address on the net, with either direct IP address or domain name.
 Then after I installed FC3 I treid again and this time I got connected
 and was able to connect to addresses on the net, but only for a few
 minutes before everything came to a halt despite the connection still
 being there. I checked /var/log/messages and there is the following
 extract:

There are so many places where things could go wrong... where to begin :) 
First try pings... see where the buck stops. It may well be a problem with 
OptusNet... so see if you can ping the DNS server. If so, check that you can 
resolve DNS. Then try tracerouting.
If not, the the problem is likely to be with either your ppp daemon or your 
modem driver. What kind of modem are you using? You seem to indicate you had 
trouble before... what was it, what was your solution?

Linux is great when it just works, but when it doesn't...

Cheers,
Marek Wawrzyczny
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Grant Parnell
On Fri, 10 Dec 2004, Brad Kowalczyk wrote:

 2. I finally managed to get my computer connected to my ISP under Linux 
 (ubuntu)  but despite a connection (dialup) I could not actually access 
 any address on the net, with either direct IP address or domain name. 
 Then after I installed FC3 I treid again and this time I got connected 
 and was able to connect to addresses on the net, but only for a few 
 minutes before everything came to a halt despite the connection still 
 being there. I checked /var/log/messages and there is the following extract:
 
 Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on 
 /dev/ttyS0 at 57600
 Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0
 Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid 
 17258)
 Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version 
 1.54.0
 Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 C1 
 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT019833
 Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier.
 Dec 10 09:54:51 localhost wvdial[17856]: ATDT019833
 Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400
 Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification
 Dec 10 09:55:14 localhost wvdial[17856]:  Username: username: login:
 Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected.  Chatmode 
 finished.
 Dec 10 09:55:14 localhost pppd[17843]: Serial connection established.
 Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0
 Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 -- /dev/ttyS0
 Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded
 Dec 10 09:55:16 localhost pppd[17843]: local  IP address 210.49.224.133
 Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254
 Dec 10 09:55:16 localhost pppd[17843]: primary DNS address 203.2.75.132
 Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51
 
 This doesn't seem to indicate any errors, is there somewhere else I 
 should look? If anyone has any ideas they would be greatly appreciated, 
 before I go mad...

It's possible there might be more errors crop up about 2 minutes into it 
depending on pppd options. Things like LCP echo timeouts indicate you just 
got a dud router or bad line - I did notice the slow modem connection.

See if you can ping the other end of the link (ie 210.49.224.254 in this 
case). Also ensure there's no firewall stuffup by doing 
/etc/init.d/iptables stop (at least on Fedora) - verify with 'iptables -L 
-n' which should look like this:-
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

Also, I've had cases where it's the ISP's equipment not quite bringing up 
the connection properly (I think the route doesen't happen). In which case 
you might try a few redials gets you on a different IP range on a 
different router. 

Oh and to Menno, Brad did mention he tried by IP address first. ONLY after 
IP connection is established can one hope to look further at DNS issues.

 -- 
---GRiP---
** ROOM FOR RENT $120pw (neg) near Newington Shops 525/401 buses **
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver  rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Brad Kowalczyk
DaZZa wrote:
On Fri, 10 Dec 2004, Brad Kowalczyk wrote:
 

2. I finally managed to get my computer connected to my ISP under Linux
(ubuntu)  but despite a connection (dialup) I could not actually access
any address on the net, with either direct IP address or domain name.
Then after I installed FC3 I treid again and this time I got connected
and was able to connect to addresses on the net, but only for a few
minutes before everything came to a halt despite the connection still
being there. I checked /var/log/messages and there is the following extract:
Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on
/dev/ttyS0 at 57600
Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0
Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid
17258)
Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version
1.54.0
Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem.
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ
Dec 10 09:54:51 localhost wvdial[17856]: ATZ
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 C1
D2 +FCLASS=0
Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1
Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1
Dec 10 09:54:51 localhost wvdial[17856]: OK
Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized.
Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT019833
Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier.
Dec 10 09:54:51 localhost wvdial[17856]: ATDT019833
Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400
Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification
Dec 10 09:55:14 localhost wvdial[17856]:  Username: username: login:
Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected.  Chatmode
finished.
Dec 10 09:55:14 localhost pppd[17843]: Serial connection established.
Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0
Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 -- /dev/ttyS0
Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded
Dec 10 09:55:16 localhost pppd[17843]: local  IP address 210.49.224.133
Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254
Dec 10 09:55:16 localhost pppd[17843]: primary   DNS address 203.2.75.132
Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51
This doesn't seem to indicate any errors, is there somewhere else I
should look? If anyone has any ideas they would be greatly appreciated,
before I go mad...
   

Can you ping the listed remote IP address when the conection comes up?
If you can, and you can't ping anything else, then do you have a default
route pointing out the PPP connection?
 

I can ping anything for a minute or so, or use browser or email but then 
it just stops sending/receiving

Try doing this {as root} once your connection is up
route add default gw remote ip
 

did that
[EMAIL PROTECTED] ppp]# /sbin/route add default gw 210.49.225.254
SIOCADDRT: File exists
[EMAIL PROTECTED] ppp]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
210.49.225.254  *   255.255.255.255 UH0  00 ppp0
169.254.0.0 *   255.255.0.0 U 0  00 lo
default 210.49.225.254  0.0.0.0 UG0  00 ppp0

Then try to ping something else.
 

no luck, I get the following:
[EMAIL PROTECTED] ppp]# ping -c3 216.55.97.142
PING 216.55.97.142 (216.55.97.142) 56(84) bytes of data.
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
--- 216.55.97.142 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 21087ms
Cheers,
Brad

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread DaZZa
On Fri, 10 Dec 2004, Brad Kowalczyk wrote:

 Can you ping the listed remote IP address when the conection comes up?
 
 If you can, and you can't ping anything else, then do you have a default
 route pointing out the PPP connection?
 
 
 I can ping anything for a minute or so, or use browser or email but then
 it just stops sending/receiving

That sounds like it might be a flow control of FIFO problem.

 [EMAIL PROTECTED] ppp]# /sbin/route add default gw 210.49.225.254
 SIOCADDRT: File exists
 [EMAIL PROTECTED] ppp]# /sbin/route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 210.49.225.254  *   255.255.255.255 UH0  00 ppp0
 169.254.0.0 *   255.255.0.0 U 0  00 lo
 default 210.49.225.254  0.0.0.0 UG0  00 ppp0

OK - so the default route exists - that's good.

 Then try to ping something else.
 
 
 no luck, I get the following:

 [EMAIL PROTECTED] ppp]# ping -c3 216.55.97.142
 PING 216.55.97.142 (216.55.97.142) 56(84) bytes of data.
 ping: sendmsg: No buffer space available
 ping: sendmsg: No buffer space available
 ping: sendmsg: No buffer space available

 --- 216.55.97.142 ping statistics ---
 3 packets transmitted, 0 received, 100% packet loss, time 21087ms

OK - a quick google seems to indicate that there's a problem with your
kernel buffer space.

ulimit -s 10240

is the suggested fix I found - but I'm not guaranteeing this is right.

As to how to fix this permanently - if this is indeed the problem - I have
no idea. JFGI, I would suggest.

DaZZa

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread DaZZa
On Fri, 10 Dec 2004, Brad Kowalczyk wrote:

 2. I finally managed to get my computer connected to my ISP under Linux
 (ubuntu)  but despite a connection (dialup) I could not actually access
 any address on the net, with either direct IP address or domain name.
 Then after I installed FC3 I treid again and this time I got connected
 and was able to connect to addresses on the net, but only for a few
 minutes before everything came to a halt despite the connection still
 being there. I checked /var/log/messages and there is the following extract:

 Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on
 /dev/ttyS0 at 57600
 Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0
 Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid
 17258)
 Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version
 1.54.0
 Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: ATZ
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 C1
 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1
 Dec 10 09:54:51 localhost wvdial[17856]: OK
 Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized.
 Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT019833
 Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier.
 Dec 10 09:54:51 localhost wvdial[17856]: ATDT019833
 Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400
 Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification
 Dec 10 09:55:14 localhost wvdial[17856]:  Username: username: login:
 Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected.  Chatmode
 finished.
 Dec 10 09:55:14 localhost pppd[17843]: Serial connection established.
 Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0
 Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 -- /dev/ttyS0
 Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded
 Dec 10 09:55:16 localhost pppd[17843]: local  IP address 210.49.224.133
 Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254
 Dec 10 09:55:16 localhost pppd[17843]: primary   DNS address 203.2.75.132
 Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51

 This doesn't seem to indicate any errors, is there somewhere else I
 should look? If anyone has any ideas they would be greatly appreciated,
 before I go mad...

Can you ping the listed remote IP address when the conection comes up?

If you can, and you can't ping anything else, then do you have a default
route pointing out the PPP connection?

Try doing this {as root} once your connection is up

route add default gw remote ip

Then try to ping something else.

DaZZa

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] no XP boot with ubuntu, dialup weirdness

2004-12-09 Thread Jan Schmidt
quote who=Brad Kowalczyk
 Couple of questions:
 1. I got my ubuntu cd's the the other day (BTW the live cd did not work 
 for me, seemed to die at X startup, just a black screen) and promptly 
 did an install onto a vacant partition on my HD. Everything ran 
 smoothly, detected all my hardware and my XP installation. However 
 despite XP being on the grub boot list it now refuses to boot. I 
 couldn't browse my XP partition with ubuntu (can you? I couldn't find 
 it) so I threw in Lindows live cd and all my windows data seems intact. 
 So question is does anyone know how I may be able to fix this XP boot 
 problem? I installed FC3 over ubuntu hoping that it might somehow fix 
 the problem but no luck...

What is the symptom of XP failing to boot? Is it getting anywhere, or
hanging as soon as it starts to load the NT boot loader?

If so, it's possibly the problem I ran into where the partition manager
screwed up the drive geometry written into the partition table. Linux
recognises the mismatch and continues, where XP dies and none of the XP
recovery mechanisms fix it.

If that's it, it can be repaired - just don't go running any XP 'fix boot'
or XP re-installations. Apparently Fedora Core used to have the same
problem, but I can't find the bug report right now.

It had to do with writing an incorrect drive geometry description to the
partition table.

J.
-- 
Jan Schmidt  [EMAIL PROTECTED]

If Darl McBride had his way, he would have banned marriage too, because it 
obviously is against the remunerative interests of prostitutes - Bruce Perens
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html