RE: [newbie] Network is unreachable
From: Jose M. Sanchez [mailto:[EMAIL PROTECTED]] Sent: Monday, May 22, 2000 8:18 PM Eh, so what's wrong? No access to the rest of the network ;-0 It sounds like you haven't configured your Networking yet. I used netcfg and set up what little I understand Have you set things up in Linuxconf yet? Yes What does ifconfig say? Link encap:Ethernet HWaddress ... Inet addr 100.0.0.199 Bcast 100.0.0.255 Mask 255.255.255.0 BRAODCAST RUNNING MULTICAST, MTU:1500 Metric:1 the rest are all Zero txquelen:100 baseadd 0xdc00 David --- David L. using [EMAIL PROTECTED] Ping reads 'Network is unreachable' Traceroute reads 'Can't find any network interfaces'
[newbie] Network is unreachable
Hi All A new install of Linux-Mandrake 7.0, with networking set up by the installation. a 3Com905B-TX, recognized as eth0 using 3c59x, and coming up O.K. Ping reads 'Network is unreachable' Traceroute reads 'Can't find any network interfaces' The same exact problem happened with a Kingston 10/100 card using tulip. The hardware is O.K. (Win98 and 2000 on the same box using both cards O.K.) David --- David L. using [EMAIL PROTECTED]
Re: [newbie] Network is unreachable
On Wed, 1 Dec 1999, Dennis wrote: On Tue, 30 Nov 1999 20:21:20 -0800, you wrote: Dennis, Well, unlike a lot of Linux (relative) newbies, I can guarantee you that it is not a winmodem. It's a USR Sportster 28.8 EXTERNAL. And I doubt that the Since its an external than all bets are off...g No really...the problems I suspected would only be with an internal. You can incorrectly access an external, just the same as internal. it doesn't know the difference, 0x3f8,4 is 0x3f8,4 no matter what. problem is in the modem itself as this modem works with Win9x. That is not a recommendation..g. Seriously though, just because something works in windoze is definately not a guarantee its going to work in linux, simply because of the hardware intensive nature of lunux. If a piece of hardware is even slightly buggylinux will discover it. Good example, though not a related piece of hardware. Had a cdromworked fine throught the install...boot upand suddenly...not detectable or workable. Put different cdrom in...works fine...put original backnot working but using that same non working cdrom in an NT box...works fine. The irq might be wrong, I've been spoiled by PnP in Win and have little experience in the nuts and bolts of irq's and the like. The irq problem would really only apply with the internal modem since you woul be using a standard comport It's the same, you know where to look for what windows has it set as (somebody said it), to get the settings from linux.. (root@Elminster)[extra/oxygen]-# dmesg|grep ttyS ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A (root@Elminster)[extra/oxygen]-# this breaks down as /dev/ entry, io, (yep irq), uart Hmmm...just had a thought. If it could be a pnp problem...check in your bios and see if your comports irqs are set to be assigned automatically by pnp or if you have specific irqs assigned to the ports. Yep yep. I use pnp only to get initial settings once it tells me good/free numbers i hard set them so they do not change How do I tell if I have the wrong irq and, if I do, make it right? Since I had assumed you had an internalpoint is moot. , to an extent atleast (search the archives for "setserial", for the newbie viewpoint at it) Thanks for the suggestion, Not a problem...hope someone comes up with a solution for you. Dennis Jeremy On Tue, 30 Nov 1999 19:27:52 -0600, Dennis wrote: It sounds like a modem problem. Such as wrong irq being selected, or other. If it was a winmodem it shouldnt work at all in linux, but it really sounds like it can be traced pretty much to a problem either in the modem itself or the configuration of same in linux. __ Get Your FREE FlashMail Address now at http://www.flashmail.com It's Free, Easy, Fun !!! -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [Re: [newbie] Network is unreachable]
"Jeremy Kersenbrock"[EMAIL PROTECTED] wrote: Dennis, Well, unlike a lot of Linux (relative) newbies, I can guarantee you that it is not a winmodem. It's a USR Sportster 28.8 EXTERNAL. And I doubt that the problem is in the modem itself as this modem works with Win9x. The irq might be wrong, I've been spoiled by PnP in Win and have little experience in the nuts and bolts of irq's and the like. How do I tell if I have the wrong irq and, if I do, make it right? Thanks for the suggestion, Jeremy === Are you trying to configure using KPPP? What COM port does Win 9x use? Externals often are connected to COM 1. If that's so use KPPP to setup modem on ttyS0 (it's one of the listed options). If winblows is using COM 2, then try ttyS1. HTH, Mike Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
Re: [newbie] Network is unreachable
On Tue, 30 Nov 1999 20:46:53 -0700 (MST), you wrote: On Tue, 30 Nov 1999, Dennis wrote: On Tue, 30 Nov 1999 19:27:52 -0600, you wrote: It sounds like a modem problem. Such as wrong irq being selected, or other. If it was a winmodem it shouldnt work at all in linux, but it really sounds like it can be traced pretty much to a problem either in the modem itself or the configuration of same in linux. It's not the modem lets just everybody take that off the list, were the modem flaky he'd have speratic(yep ax's spelling sucks) connection to sites outside his isp. Not necessarily. Incorrect irq or comport settings may allow a connect to the ISP but not allow anything past that point and it would be consistant. I know...it happened to me a good while back. A week ago, I installed Mandrake 6.0 on my second PC -- my first attempt at a dual-boot system. While initial installation was simpler on this one than the first one, I cannot get my Internet connection to work. Unfortunately, it was necessary for my first PC to revert to *shudder* Windows, so I cannot use it for net access. I'm using KPPP and the connection is dialed up correctly, but I can only access websites within my ISP's domain. When trying to access, say, www.linux-mandrake.com, Netscape gives me a "TCP Error: Network is unreachable". So I tried pinging outside my ISP's domain and got "ping: sendto: Network is unreachable". This is not a temporary problem, as I have been struggling with it for 5 days without any sort of revelation. enable the debug for pppd and kppp (we're interested in the "remote ip" "local ip", send portion of var/log/messages with these) also the output of "ifconfig ppp0" "route -n" and contents of "/etc/resolv.conf" All of those are good diagnostics. And all appeared as they should when a similar problem as this guy has happened to me. When linux is looking for a modem at one address but the hardware places it elsewhere, it can still work after a fashion, just not correctly or consistantly. I still suspect a possible link to an incorrect irq or address setting. But heyno one is perfect. My connection to this ISP works fine in Windows. My ISP does supposedly support Linux and is the only one in my town that does. Unfortunately, it costs $25 per housecall for on-site support, and the tech doesn't want to tell me what to do in order to fix my own problem. It would also appear that my ISP only wants to support RedHat Linux, as the tech went into a rant about how "Mandrake is just a hacked-up verson of RedHat" when I emailed them for help. Here is what I have tried: netcfg (at the suggestion of my ISP) = same result upgrade to the ppp-2_3_8-1mdk_i586.rpm upgrade to the kdenetwork-1.1.1final-7mdk.i586.rpm upgrade to Netscape 4.61stable Is this really a problem with my Linux, a problem with my ISP, or the fabled wrath of the Penguin? If a Linux problem, how do I fix it? Thanks in advance, Jeremy Kersenbrock [EMAIL PROTECTED]
Re: [newbie] Network is unreachable
Axalon, In the process of retrieving the necessary messages, I happened to try the internet logged in as root (which I hadn't tried yet) and it worked fine. Should have tried this sooner, I guess. But I still get the same problems when logged in with either of my two user accounts. So the data below is from attempts from the non-working user account. Of course, as user, I could not use ifconfig or route to determine their output. And, since the root account is working properly, I assume that their output from the root account would be irrelevant, so I have not included it. How shall I go about getting the user accounts to work like the root one is? OK, here is a relevant exerpt from var/log/messages from the nonworking user account "Jeremy": Dec 1 07:42:09 localhost PAM_pwdb[614]: (kde) session opened for user Jeremy by (uid=0) Dec 1 07:44:52 localhost pppd[684]: pppd 2.3.8 started by Jeremy, uid 501 Dec 1 07:44:52 localhost pppd[684]: Using interface ppp0 Dec 1 07:44:52 localhost pppd[684]: Connect: ppp0 -- /dev/ttyS0 Dec 1 07:44:59 localhost pppd[684]: Remote message: Login ok Dec 1 07:44:59 localhost kernel: PPP BSD Compression module registered Dec 1 07:44:59 localhost kernel: PPP Deflate Compression module registered Dec 1 07:45:03 localhost pppd[684]: local IP address 216.96.114.233 Dec 1 07:45:03 localhost pppd[684]: remote IP address 216.96.114.225 Dec 1 07:45:06 localhost pppd[684]: local IP address 216.96.114.233 Dec 1 07:45:06 localhost pppd[684]: remote IP address 216.96.114.225 Dec 1 07:45:52 localhost pppd[684]: Terminating on signal 15. Dec 1 07:45:52 localhost pppd[684]: Connection terminated. Dec 1 07:45:52 localhost pppd[684]: Connect time 1.0 minutes. Dec 1 07:45:52 localhost pppd[684]: Sent 766 bytes, received 1115 bytes. Dec 1 07:45:52 localhost pppd[684]: Exit. Dec 1 07:46:35 localhost PAM_pwdb[614]: (kde) session closed for user Jeremy Dec 1 07:46:35 localhost kdm[459]: Cannot open server authorization file /usr/X11R6/lib/X11/xdm/authdir/A:0-OmlKJZ -Original Message- From: Axalon Bloodstone [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, November 30, 1999 10:28 PM Subject: Re: [newbie] Network is unreachable It's not the modem lets just everybody take that off the list, were the modem flaky he'd have speratic(yep ax's spelling sucks) connection to sites outside his isp. enable the debug for pppd and kppp (we're interested in the "remote ip" "local ip", send portion of var/log/messages with these) also the output of "ifconfig ppp0" "route -n" and contents of "/etc/resolv.conf"
Re: [newbie] Network is unreachable
On Wed, 1 Dec 1999, Jeremy Kersenbrock wrote: Axalon, In the process of retrieving the necessary messages, I happened to try the internet logged in as root (which I hadn't tried yet) and it worked fine. Should have tried this sooner, I guess. But I still get the same problems when logged in with either of my two user accounts. So the data below is from attempts from the non-working user account. Of course, as user, I could not use ifconfig or route to determine their you can use them, they just aren't in a users path by default. /sbin/ifconfig ppp0 /sbin/route -n output. And, since the root account is working properly, I assume that their output from the root account would be irrelevant, so I have not included it. only for comparison How shall I go about getting the user accounts to work like the root one is? OK, here is a relevant exerpt from var/log/messages from the nonworking user account "Jeremy": Dec 1 07:42:09 localhost PAM_pwdb[614]: (kde) session opened for user Jeremy by (uid=0) Dec 1 07:44:52 localhost pppd[684]: pppd 2.3.8 started by Jeremy, uid 501 Dec 1 07:44:52 localhost pppd[684]: Using interface ppp0 Dec 1 07:44:52 localhost pppd[684]: Connect: ppp0 -- /dev/ttyS0 Dec 1 07:44:59 localhost pppd[684]: Remote message: Login ok Dec 1 07:44:59 localhost kernel: PPP BSD Compression module registered Dec 1 07:44:59 localhost kernel: PPP Deflate Compression module registered Dec 1 07:45:03 localhost pppd[684]: local IP address 216.96.114.233 Dec 1 07:45:03 localhost pppd[684]: remote IP address 216.96.114.225 Dec 1 07:45:06 localhost pppd[684]: local IP address 216.96.114.233 Dec 1 07:45:06 localhost pppd[684]: remote IP address 216.96.114.225 Dec 1 07:45:52 localhost pppd[684]: Terminating on signal 15. signal 15 is alarm, you'll need to enable debug for ppp (make sure to clip out your login password to the isp, before you post any logs) now that i've warned you. as root, echo "debug" /etc/ppp/options kppp probably has a few checkboxes for debug also you'll want to enable those aswell once debug is on it will tell what caused the signal 15, something is obviously timeing Dec 1 07:45:52 localhost pppd[684]: Connection terminated. Dec 1 07:45:52 localhost pppd[684]: Connect time 1.0 minutes. Dec 1 07:45:52 localhost pppd[684]: Sent 766 bytes, received 1115 bytes. Dec 1 07:45:52 localhost pppd[684]: Exit. Dec 1 07:46:35 localhost PAM_pwdb[614]: (kde) session closed for user Jeremy Dec 1 07:46:35 localhost kdm[459]: Cannot open server authorization file /usr/X11R6/lib/X11/xdm/authdir/A:0-OmlKJZ -Original Message- From: Axalon Bloodstone [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, November 30, 1999 10:28 PM Subject: Re: [newbie] Network is unreachable It's not the modem lets just everybody take that off the list, were the modem flaky he'd have speratic(yep ax's spelling sucks) connection to sites outside his isp. enable the debug for pppd and kppp (we're interested in the "remote ip" "local ip", send portion of var/log/messages with these) also the output of "ifconfig ppp0" "route -n" and contents of "/etc/resolv.conf" -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [newbie] Network is unreachable
On Tue, 30 Nov 1999, you wrote: A week ago, I installed Mandrake 6.0 on my second PC -- my first attempt at a dual-boot system. While initial installation was simpler on this one than the first one, I cannot get my Internet connection to work. Unfortunately, it was necessary for my first PC to revert to *shudder* Windows, so I cannot use it for net access. Post your /etc/resolv.conf here and let us take a look at it. I suspect the problem is that you're not getting the DNS info when you dial up. John
Re: [newbie] Network is unreachable
Could it be a simple oversight? I have that same error message logged in my "Problems" file from my very first attempt at running Linux. I learned that (1) I had to use PAP; and (2) my username has some "stuff" that is invisible to window$ users...that is, I had to log in as "us,ppp,jmarcom" or as "ELN/jmarcom". The details seem to vary with every ISP. HTH. Regards, Joe
Re: [newbie] Network is unreachable
On Tue, 30 Nov 1999, Dennis wrote: On Tue, 30 Nov 1999 19:27:52 -0600, you wrote: It sounds like a modem problem. Such as wrong irq being selected, or other. If it was a winmodem it shouldnt work at all in linux, but it really sounds like it can be traced pretty much to a problem either in the modem itself or the configuration of same in linux. It's not the modem lets just everybody take that off the list, were the modem flaky he'd have speratic(yep ax's spelling sucks) connection to sites outside his isp. A week ago, I installed Mandrake 6.0 on my second PC -- my first attempt at a dual-boot system. While initial installation was simpler on this one than the first one, I cannot get my Internet connection to work. Unfortunately, it was necessary for my first PC to revert to *shudder* Windows, so I cannot use it for net access. I'm using KPPP and the connection is dialed up correctly, but I can only access websites within my ISP's domain. When trying to access, say, www.linux-mandrake.com, Netscape gives me a "TCP Error: Network is unreachable". So I tried pinging outside my ISP's domain and got "ping: sendto: Network is unreachable". This is not a temporary problem, as I have been struggling with it for 5 days without any sort of revelation. enable the debug for pppd and kppp (we're interested in the "remote ip" "local ip", send portion of var/log/messages with these) also the output of "ifconfig ppp0" "route -n" and contents of "/etc/resolv.conf" My connection to this ISP works fine in Windows. My ISP does supposedly support Linux and is the only one in my town that does. Unfortunately, it costs $25 per housecall for on-site support, and the tech doesn't want to tell me what to do in order to fix my own problem. It would also appear that my ISP only wants to support RedHat Linux, as the tech went into a rant about how "Mandrake is just a hacked-up verson of RedHat" when I emailed them for help. Here is what I have tried: netcfg (at the suggestion of my ISP) = same result upgrade to the ppp-2_3_8-1mdk_i586.rpm upgrade to the kdenetwork-1.1.1final-7mdk.i586.rpm upgrade to Netscape 4.61stable Is this really a problem with my Linux, a problem with my ISP, or the fabled wrath of the Penguin? If a Linux problem, how do I fix it? Thanks in advance, Jeremy Kersenbrock [EMAIL PROTECTED] -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [newbie] Network is unreachable
Dennis, Well, unlike a lot of Linux (relative) newbies, I can guarantee you that it is not a winmodem. It's a USR Sportster 28.8 EXTERNAL. And I doubt that the problem is in the modem itself as this modem works with Win9x. The irq might be wrong, I've been spoiled by PnP in Win and have little experience in the nuts and bolts of irq's and the like. How do I tell if I have the wrong irq and, if I do, make it right? Thanks for the suggestion, Jeremy On Tue, 30 Nov 1999 19:27:52 -0600, Dennis wrote: It sounds like a modem problem. Such as wrong irq being selected, or other. If it was a winmodem it shouldnt work at all in linux, but it really sounds like it can be traced pretty much to a problem either in the modem itself or the configuration of same in linux. __ Get Your FREE FlashMail Address now at http://www.flashmail.com It's Free, Easy, Fun !!!