Re: pppd daemon

From: J Y (jhy_at_x-mail.net)
Date: 10/04/03

  • Next message: Marc Wilson: "Re: a2ps in unstable: config files have changed"
    Date: Fri, 03 Oct 2003 20:35:03 -0800
    To: debian-user@lists.debian.org
    
    

    Yeah I knew I left ping on too long..I wasn't sure if it exited on its
    own. I'm wondering if the exit status isn't the result of my finally
    doing ctrl-c ? Anyway I do appreciate the help-this has been one pain to
    resolve. I will check permissions on /etc/ppp/ip-up.d and recently there
    have been no error messages when using pon (not that I remember) but
    I'll try again. I don't know how many scripts there are in the file
    /ip-up.d but I will try what you recommended. Unless of course the
    permissions check produces something. I also wonder if I could just copy
    my SuSE ip-up.d files to debian? Although they might not be compatible.
    Thanks again. JY

    Quoting Pigeon <jah.pigeon@ukonline.co.uk>:

    > On Fri, Oct 03, 2003 at 11:48:20AM -0800, J Y wrote:
    > > The connection seems to be working now but I can't get any internet
    > > applications to "see" the connection.
    > >
    > > deblnx:/home/john# plog
    > > Oct 3 13:48:48 deblnx pppd[1333]: Script /etc/ppp/ip-up finished (pid
    > > 1378), status = 0x1
    > > Oct 3 13:49:17 deblnx pppd[1333]: sent [LCP EchoReq id=0x1
    > > magic=0x6186be31]
    > > Oct 3 13:49:17 deblnx pppd[1333]: rcvd [LCP EchoRep id=0x1
    > magic=0x0> ]
    > >
    > > deblnx:/home/john# ping 195.40.1.36
    > > PING 195.40.1.36 (195.40.1.36): 56 data bytes
    > > 64 bytes from 195.40.1.36: icmp_seq=0 ttl=245 time=260.2 ms
    > > 64 bytes from 195.40.1.36: icmp_seq=1 ttl=245 time=259.9 ms
    > > 64 bytes from 195.40.1.36: icmp_seq=2 ttl=245 time=250.0 ms
    > > 64 bytes from 195.40.1.36: icmp_seq=3 ttl=245 time=240.0 ms
    > > 64 bytes from 195.40.1.36: icmp_seq=4 ttl=245 time=239.0 ms
    > > snip
    > > --- 195.40.1.36 ping statistics ---
    > > 1008 packets transmitted, 974 packets received, 3% packet lossround-trip
    > > min/avg/max = 210.0/219.2/261.0 ms
    > > deblnx:/home/john#
    >
    > Fine, your connection is indeed working but you have no DNS. (BTW you
    > don't need to leave ping running so long - a few packets is enough! It
    > doesn't come to a 'natural halt' unless you use the -c option: you
    > just hit ctrl-c once you see it's working. 3% packet loss is no big
    > deal.)
    >
    > ISTR seeing another post from you that I read some time after making
    > my reply (the thread's a bit fragmented by now) containing plog output
    > which confirmed that you are indeed receiving the IPs of the DNS
    > servers when you connect, so it's the setting up of the DNS at your
    > end using that information which isn't working.
    >
    > /etc/ppp/ip-up has exited with status 1, which is an error status.
    > This, I think, means that one of the scripts in /etc/ppp/ip-up.d is
    > returning an error. Two of these scripts are to do with setting up
    > your DNS, so maybe we're getting somewhere.
    >
    > Are all the scripts executable? What does 'ls -l /etc/ppp/ip-up.d'
    > report? Do you get any error messages on the console when you connect
    > using pon, perhaps beginning with 'run-parts:'?
    >
    > If they are all executable, and there aren't any helpful error
    > messages from run-parts indicating which script is failing: try adding
    > 'exit 0' as the second line of every script. Then, when you connect,
    > plog should indicate that /etc/ppp/ip-up exited with status 0. Now you
    > can delete the 'exit 0' second line from each script in turn, starting
    > with the one at the top of ls -l, and try connecting after you change
    > each script. At some point /etc/ppp/ip-up will go back to exiting with
    > status 1, and then you know which script is producing the error. Once
    > we know that, we might be able to figure out why.
    >
    > > When I tried to open konqueror from the terminal I got this response (
    > > note I was root at terminal) :
    > > deblnx:/home/john# konqueror
    > > Xlib: connection to ":0.0" refused by server
    > > Xlib: Client is not authorized to connect to Server
    > > konqueror: cannot connect to X server :0.0
    > > deblnx:/home/john#
    > >
    > > I don't understand because if I type konqueror as myself/regular user
    > > Konqueror opens (Still doesn't see internet connection).
    > > Maybe none of that has anything to do with anything???
    >
    > I think that's a security feature. Running complex GUI apps as root is
    > generally not a good idea as there may be bugs lurking in the
    > complexity which could have more devastating effects if you're root.
    > Having said that, I've just tried running konqueror myself as root for
    > the first time and it didn't complain, so not quite sure here, but I
    > very much doubt it's connected.
    >
    > --
    > Pigeon
    >
    > Be kind to pigeons
    > Get my GPG key here:
    > http://pgp.mit.edu:11371/pks/lookup?op=get&search=> 0x21C61F7F
    >

    -------------------------------------------------------------------------------------------
    ***Protect your PC from local E-Mail Application security holes***
    ***Maintain your Privacy - MS Passport Free***
    ***Anti SPAM "Whitelist" feature***

    http://www.x-mail.net Web Based E-Mail, accessible anywhere

    Voice Messages, Voice Calls (VoIP), Video Conferencing, Live Chat,
    X-Mail Messenger, Personal Web Hosting, 128 bit SSL Secure,
    Calendar, Bookmarks, Forwarding, Virtual Mail Map Aliasing

    X-Mail Premium: 20MB Messages, 100MB Storage, SMTP, POP3, Ad Free
    -------------------------------------------------------------------------------------------
    Anonymous Web Surfing http://www.snoopblocker.com
    Search http://www.teradex.com
      

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Marc Wilson: "Re: a2ps in unstable: config files have changed"

    Relevant Pages

    • Re: Primary DNS Suffix is blank
      ... " Mine is just a standalone machine. ... What DNS setting are you using? ... Ethernet adapter Local Area Connection: ... Ping statistics for 204.127.202.10: ...
      (microsoft.public.win2000.dns)
    • Re: Cant access broadband
      ... isn't working very well, ping it and look at the responses, if it varies ... from when it's not bad then it could point to a connection issue. ... be mitigated by a DNS caching/proxy problem. ... Not necessarily - could still be a DNS issue, where maybe invalid responses ...
      (microsoft.public.windowsxp.network_web)
    • Re: No one answered my question?
      ... but I can't ping anything therefore I'm not "really" connected. ... 36mbps connection but doesn't connect to the Internet nor can I ping ... I'm just getting started with wireless connectivity. ... If you can access the rtr page on the wireless, it may be a DNS issue. ...
      (alt.internet.wireless)
    • Re: Is it possible to manually activate an eth0 connection?
      ... Is it possible to manually activate an eth0 connection? ... any more to ping my router and desktop ... DNS Servers: enter the dns servers for your ISP ... ...
      (Ubuntu)
    • Re: pppd daemon
      ... your connection is indeed working but you have no DNS. ... 'exit 0' as the second line of every script. ... Running complex GUI apps as root is ...
      (Debian-User)