Jump to content

Internet? I don't need no stinking internet.


kmc77
 Share

Recommended Posts

Ok, I've messed up. "If it aint broke, don't fix it"

 

I was messing around with my system (Running Mandrake 9.2 - Gnome) today and decided that I would take a look at my internet/network settings. In the Mandrake controll center, I selected the "configure your computer to share an internet connection with others" (or something like that) option, and went thru the setup. I meant to quit before finishing, but didn't. Now my computer won't connect to the Internet. I ran the other program to configure my connection, and corrected the settings, but I still can't get on. When I log into GNOME, I get an error box stating that it can't connect to "bla, bla" and suggests that I add it to /etc/host. I added it, but I don't think that I did it right. This is my work computer in my home office, and I desperately need a connection.

 

I don't ask for much (ok, ok that's a lie. I'm in here asking for help all the time). If anyone has some suggestions, I would appreciate it.

Link to comment
Share on other sites

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

Update. I've been working on this for 4 1/2 hours now. - Still Broken -

 

I'm getting desperate here.

 

Surely someone must have some kind of tips for me.

 

More info:

ADSL Connection

dhcp

When I installed Mandrake, the auto configuration got me on the

internet with no problems.

Link to comment
Share on other sites

What kernel are you using? I had terrible internet issues until I went down to the 2.4.x kernel and then the newer 2.6.3-7. That was my fixes, switching kernels.

Link to comment
Share on other sites

Not sure how the check the kernel. I know I'm using whatever came in the 9.2 install.

 

More details -

 

ADSL

No router

Firewall dissabled

lan

Called my provider and they said gateway would be automaticaly

assigned unless I paid for a static line. (I didn't, but she

gave me the gateway numbers just in case)

Logged into windows and got DNS, Gateway, Subnet Mask, IP, and

DHCP info. Manually inputed that info, to no avail.

 

I'm going to go log back into Linux and see if I can get some screen prints.

 

And to think, I was going to completely remove windows today. Good thing I decided to wait.

Link to comment
Share on other sites

Spend some more time on it. And noticed that the automatic detect keeps trying to set up an ISDN connection. I have to unselect ISDN and select ADSL. It seems to me this should all be pretty much automatic. Once I tell it what kind of connection I have, there is no othere information that should be required (since IP, Gateway, Mask etc. are automaticaly configured.)

 

I'm considering throwing in the install disk and doing an upgrade (since it set it up right at the first install) Anybody know if that might work?

Link to comment
Share on other sites

Ok, reinstalled (upgrade not the full install) with no luck. Can't figure out what's going on. No one I've talked to can tell me what's happening either. When I look at the settings, they all match up. I would hate to format and restart the whole process, but that's quickly what I'm comming to. It's either that or go back to Windows........ Nah, that's not really an option :P

 

Anyway, If anyone has experienced this or might know where I can begin to find some answers, please let me know.

Link to comment
Share on other sites

what does the command;

route

say?

 

I'm guessing the gateway was changed/added and shouldn't be/have been?

Called my provider and they said gateway would be automaticaly

assigned unless I paid for a static line. (I didn't, but she

gave me the gateway numbers just in case)

Are you sure she even knew what she was talking about? Most of those Support personel know less than my wife :lol: and are reading for FAQ/cards, giving you some generic M$ answer that may not even apply to linux.

 

You say you are on a lan w/o a router.....are you the gateway? How do others connect? All connect, direct? HUB? what?

 

You haven't posted the output of route.....so how can we help? Not that we can if you do, but.... :juggle: while you're at it post the output of

ifconfig -a

as well.

Link to comment
Share on other sites

You're probably right bvc :lol: , I thought that also, so I tried entering the gateway. No luck.

 

Sorry about the last post. I got so frustrated, I forgot to post the output of route.

It reads as follows: (sorry for the format - couldn't paste)

 

Destination Gateway Genmask Flags Metric Ref Use Iface

209.34.26.0 * 255.255.255.0 U 0 0 0 eth0

127.0.0.0 * 255.0.0.0 U 0 0 0 lo

default 209.34.26.254 0.0.0.0 UG 0 0 0 eth0

 

as for iconfig -a, I get the following error:

 

-bash: iconfig: command not found

 

My setup - just my home computer (dual boot - MS and MDK), my DSL modem (external) and my LAN card (internal). No other computers involved.

 

Hope this helps.

Link to comment
Share on other sites

Crap, just noticed that the route output got all run together. Here it is again except with "/" symbolizing the division in collumns.

 

destination / gateway / genmask / flags / metric / ref / use / iface

209.34.26.0 / * / 255.255.255.0 / u / 0 / 0 / 0 / eth0

127.0.0.0 / * / 255.0.0.0 / u / 0 / 0 / 0 / lo

efault / 209.34.26.254 / 0.0.0.0 / ug / 0 / 0 / 0 / eth0

 

This doesn't look much better, but maybe you can understand it.

Link to comment
Share on other sites

When posting, if you use the QUOTE or CODE buttons (CODE in this case) it won't all run together. Like below. Assuming that should be your gateway everything looks fine to me.

 

It's ifconfig not iconfig

 

[root@localhost root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
[root@localhost root]#

[root@localhost root]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:50:8D:4C:4A:AD
         inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
         inet6 addr: fe80::250:8dff:fe4c:4aad/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:447 errors:0 dropped:0 overruns:0 frame:0
         TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:604354 (590.1 Kb)  TX bytes:41251 (40.2 Kb)
         Interrupt:23 Base address:0xe400

What is in;

/etc/resolv.conf

and

/etc/sysconfig/network-scripts/ifcfg-eth0

?

 

What happens if you run?

ifup eth0

Link to comment
Share on other sites

I learn something new every day. Thanks for pointing those buttons out. I was wondering what they were for.

 

Ok, so I've got a lot of info for you. Here it goes

 

What is in;

/etc/resolv.conf

and

/etc/sysconfig/network-scripts/ifcfg-eth0

?

 

This is what I found:

 

/etc/resolv.conf

search txucom.net
nameserver 207.70.172.240
nameserver 207.70.128.240

 

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eht0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:c0:a8:87:01:38
MII_NOT_SUPPORTED=no
DHCP_HOSTNAME=kevins.linux.box.com
NEEDHOSTNAME=no

 

ifconfig -a brings up the following:

 

eth0     Link encap:Ethernet  HWaddr 00:C0:A8:87:01:38
        inet addr:209.34.26.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST MTU: 1500  Metric:1
        RX packets:31 errors:0 Dropped:0 overruns:0 frame:0
        TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100

lo     Link encap:Local Loopback
      inet addr:127.0.0.1  Mask:255.0.0.0
      UP LOOPBACK RUNNING MTU:16436  Metric:1
      RX packets:72 errors:0 dropped:0 overruns:0 frame:0
      TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:4694 (4.5 Kb)  TX bytes:4694 (4.5 Kb)

 

And last, when I run ifup eth0 I get this:

 

determining IP information for eth0.... done

 

Please tell me that you know what's going on.

:cry:

Edited by kmc77
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...