Linux wants so badly to get up on the internet...


Page 1 of 2 12 LastLast
Results 1 to 15 of 29

Thread: Linux wants so badly to get up on the internet...

  1. #1
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    Linux wants so badly to get up on the internet...

    Can't get my Linux to realize that, yes, it truly is right at the internets' doorstep.

    I've got Windows XP (Home) and RH 9 living side-by-side on the same HDD, and GRUB does the coin toss. When this identical setup ran on my Dull 8200, I was able to enter, surf, and otherwise enjoy the 'net from either OS, using my (Earthlink) DSL connection.

    Now, I've got the same OS setup on this rig:

    ABIT NF7-S2 mobo
    AMD Athlon 2600+ 'Barton' Processor
    ATI 9600 SE video card

    On the Windows side I can, as always, get into the internet. On the Linux side...Mozilla will make it appear I am logged on, and the correct [looking] screen greets me. However, when I try to type any URL into the search window, I get an Alert! dialog box that says, "www.anysite.com could not be found. Please check the name and try again."

    I've also posed this same question to a hardware forum site (ABIT) thinking that perhaps it is a hardware issue, inasmuch as I had no problems on my old computer (again, with the identical setup-down to the same RH 9 install CD's). Any thoughts?

  2. #2
    Join Date
    Oct 2002
    Location
    Way down yonder in the land of cotton...
    Posts
    274
    well the fact that you can surf the internet in Windows tell me that it isn't a hardware issue. what do you get at a command prompt when you type '/sbin/ifconfig'

    also, can you ping any internet sites, ie mit.edu? (ping mit.edu)
    one by one, the penguins steal my sanity...

    Registered Linux User#: 340703

  3. #3
    Join Date
    Sep 2004
    Location
    /home/
    Posts
    1,204
    can you ping any internet sites, ie
    yes make sure you have your dns server in your resolv.conf file also.


    ie nameserver 192.165.33.44

    soule
    Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others. - Edward Abbey

    IRC #linuxn00b

    Support your Distro.
    Slackware Store
    Archlinux Schwag

  4. #4
    Join Date
    Aug 2002
    Location
    Delaware
    Posts
    4,285
    also, can you ping 216.239.39.99
    irc.freenode.net #justlinux The Not So Official JL IRC Channel.
    ¤ Debian ¤ Apt-Get ¤

  5. #5
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    my weekend challenge...

    Work is done for the week, I can get back into this, and I've resolved to go to sleep AFTER I've succeeded in accessing the internet thru Linux (obviously, I'm on the Window$ side now).

    To anser the questions posed, in somewhat the same order:

    When I enter '/sbin/ifconfig' (at a command prompt in my own home account, NOT as root) I get:

    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: 506 errors:0 dropped:0 overruns:0 frame:0
    TX packets: 506 erros:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:34097 (33.2 Kb) TX bytes:34097 (33.2 Kb)

    I cannot ping with any success, whether using a URL or an IP address. The response is 'unknown host'. If I put an IP address in the Search window of the Mozilla Screen, I get 'Network is unreachable', or 'The connection was refused when attempting to contact xxx.xxx.xxx.xxx

    Just to mention it, the internet screen generated by Mozilla has the little 'connector' thingy (ya know, the one that looks like a plug?) shown connected, like everything is hunky-dory.

    I have an /etc/resolv.conf file, but it is empty. The question was posed to me (or, rather, the suggestion made) that I insert my 'DNS server' name into that file. Well, that one went passed me real quick. I don't understand what is meant by that?! I know what my IP address is, but I don't think that 's what is meant. All my 'Googling' did not help in explaining whether a) I have a DNS server, or b) if I did, how I would identify it.

    So, that's where it stands...HELP!!!!

  6. #6
    Join Date
    Feb 2003
    Location
    Toronto
    Posts
    202
    Hmm it appears as if your ethernet is not enabled.

    Try this:

    /sbin/ifconfig eth0 up

    In redhat 9, then do
    /etc/init.d/network restart

    Post the output here if you have problems still

  7. #7
    Join Date
    Aug 2002
    Location
    Woodstock, VA
    Posts
    416
    I'd try this. Like was said before, do /sbin/ifconfig as root, but add eth0 to the end so it looks like this

    /sbin/ifconfig eth0

    That will give you info specifically on eth0. If nothing comes back, most likely you don't have the driver loaded. In this case, run the /sbin/lsmod command to list all the drivers you have loaded. I'm not familiar with that motherboard, so I can't tell you which driver to look for. You can post what type of nic you have, or you can run /sbin/lspci and post the results if you're not sure what specific kind of nic it is. That will output info on all of your hardware.

    Hope that helps put you on the right track.

  8. #8
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    Do you mean...?

    Hate to appear 3 shades beyond dumb, but...

    One of the above suggestions (and they both follow the same format) was:

    'Try this:

    sbin/ifconfig etho0 up'

    By that, do you mean to a) open up the sbin/ifconfig file, and then b) amend the line 'etho0 up' into it?

  9. #9
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    Doh...!?

    Was kinda hoping I could sneak back in here with a real answer before anyone else had a chance to jump on this. Here ya'll folks are tryin' your hearts out to help, and I wade in with that kind of bone-headed response. Sorry. Well anyway, climbed back over the fence to Linux, extracted the following data, and ran back here quick as I could.

    In response to [entering in a command line]:

    /sbin/ifconfig etho0

    I got: 'etho0: error fetching interface information: Device not found

    I tried redirecting that to a printer ( '| lp'), and the response was:

    lp: stdn is empty, so no job was sent

    Anyway, in response to '/sbin/lsmod', I got:

    Module Size Used by Not tainted
    parport_pc 18756 1 (autoclean)
    lp 8868 0 (autoclean)
    parport 36480 1 (autoclean) [parport_pc lp]
    autofs 12948 0 (autoclean) (unused)
    ipt_REJECT 3896 6 (autoclean)
    iptable_fileter 2380 1 (autoclean)
    ip_tables 14648 2 [ipt_REJECT iptable_filter]
    sg 35980 0 (autoclean)
    sr_mod 17912 0 (autoclean)
    ide-scsi 11984 0
    scsi_mod 106200 3 [sg sr_mod ide-scsi]
    ide-cd 35196 0
    cdrom 33472 0 [sr_mod ide-cd]
    ohci1394 19944 0 (lunused)
    ieee1394 48268 0 [ohci1394]
    p12303 13912 0
    usbserial 21884 0 [p12303]
    printer 8800 0
    keybdev 2880 0 (unused)
    mousedev 5428 1
    hid 21700 0 (unused)
    input 5792 0 [keybdev mousedev hid]
    ehci-hcd 19592 0 (unused)
    usb-ohci 21160 0 (unused)
    usbcore 77696 1 [p12303 usbserial printer hid ehci-hcd usb-ohci]
    ext3 69984 2
    jbd 51220 2 [ext3]

    After running '/sbin/lspci', I got this relevant line:

    00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)

    Whew! Hope that gives a clue to somebody.

    Thanks for staying up late with me.

  10. #10
    Join Date
    Apr 2003
    Posts
    870
    I think... repeat think... the module is

    forcedeth

    so you could try

    modprobe forcedeth

    from the command line and then rerun all the previous commands to see if your netwrok card is picked up...
    Ubuntu

    Registered Linux User #313600

  11. #11
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,180

    Re: Doh...!?

    Originally posted by chzlchp
    /sbin/ifconfig etho0
    Your problem here is that the command is "/sbin/ifconfig eth0" with a zero and no "o".

  12. #12
    Join Date
    Apr 2003
    Posts
    870
    good eye!
    Ubuntu

    Registered Linux User #313600

  13. #13
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    AARRRGGGHHHHHH!!!!!!

    Look...does anybody involved in this drama live anywhere near Abingdon, MD???? There's free beer in it for you, as in 'free beer'!

    Ok, Ok, I'm calmed down now. Whew!

    Here's what I've gleened while time slipped away.

    Ran back over the fence to Linux, and had been punching stuff in correctly (thought I was 'missing' something in "eth0" but checked, and yea, it was OK. Now I know what the problem was there.).

    Anyway, as root I entered (on a command line): 'ifconfig eth0 up'; response was:

    eth0: unknown interface: No such device

    However...when I went into the Network Configuration dialog box, it shows in at least two [tab] windows that, yes I do have a recognized device, and it is (this under the Hardware Description tab):

    Description: AMD PCnet32
    Type: Ethernet
    Device: eth0

    So...is it just me, or is this the way of Linux?

  14. #14
    Join Date
    Oct 2002
    Location
    Republic of Texas
    Posts
    5,898

    heh....

    It's just you.
    No, you really need to know about your hardware to setup linux. The module that's driving your nic is called forcedeth, but I didn't see it in lsmod. (by the way, you should man each new command you learn, for example enter "man modprobe" in a terminal.(no quotes)) It looks like it may be "built in" to the kernel and that's why the devices are detected, but no module is listed.
    Just for kicks, as root, do:
    modprobe forcedeth
    <if you get no error do:>
    lsmod
    <and look for forcedeth. if it's there do:>
    ifconfig eth0 up
    <or>
    /etc/init.d/network restart

    keep us posted
    Need help in realtime? Visit us at #linuxnewbie on irc.libera.chat

    Few of us will do as much for our fellow man as he has done.
    --Andrew Morton on RMS

  15. #15
    Join Date
    Mar 2004
    Location
    Harford County, Maryland
    Posts
    135

    Gotta roll up my sleeves for all this...

    Thanks for the advice. I'll do my homework, and then weigh back in with results.

    Again, thanks to all for hanging in there with this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •