Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Linux newbie here! Here's the specs: 1. A computer (laptop) - Win XP installed. 2. B computer (desktop) - Win XP and Ubuntu 5.04 installed (dual boot) 3. Both computers ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    12

    Ethernet Config in Ubuntu 5.04

    Linux newbie here!

    Here's the specs:

    1. A computer (laptop) - Win XP installed.
    2. B computer (desktop) - Win XP and Ubuntu 5.04 installed (dual boot)
    3. Both computers are on a router.
    4. YahooDSL connection.
    5. Dynamic IP

    When both computers are running Win XP, both can surf the internet without problems.

    When I boot the B computer to run Ubuntu, I can't surf or go online with B computer.
    Had checked eth0, says it is configured.

    What should I do?

    Need help! Had been working on it for already two days so I took the courage to place a question in this forum.

  2. #2
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    type "ifconfig eth0 up" to get ethernet going.

    if u use dhcp-client type "dhclient" after eth0 up

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Location
    Iowa
    Posts
    43
    If you are still having troubles please paste the output of ifconfig -a.

  4. #4
    Just Joined!
    Join Date
    Aug 2005
    Posts
    12
    Quote Originally Posted by Kingedgar
    If you are still having troubles please paste the output of ifconfig -a.
    Still having troubles!
    Here's the output of ifconfig -a:


    inet addr:192.168.1.31 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::211:5bff:fe7a:d8df/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:6 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1420 (1.3 Kb) TX bytes:3031 (2.9 Kb)
    Interrupt:10 Base address:0xc400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:134 errors:0 dropped:0 overruns:0 frame:0
    TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:9367 (9.1 Kb) TX bytes:9367 (9.1 Kb)

    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    I really do not know what to do. Took me days before I can configure how to copy and paste in linux, transfer to a floppy and open it up in windows so i can paste the result in this forum.

  5. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    12

    changed to SUSE 9.3

    Perhaps I got the wrong info for my specs that is why I don't get help from here:

    I am very new to Linux and want to try this OS

    My problem is I can't get online with Linux.

    1. SBC DSL connection, SpeedStream 5100 Modem
    2. I have 4 computers ( 2 laptops, one Win95, one with WinXP Pro), one desktop with XP Pro/SUSE dual boot, one Mac.
    3. All these 4 computers are connected to a router (CompUSA Cable/DSL router with 4 port switch) and the router is connected to the DSL modem.
    4. Booting with windows I do not have a problem connecting to the Internet.
    5. The problem is when I boot with SUSE, no internet connection with SUSE only. (NIC is VIA VT6102 (Rhine II) Embedded Ethernet Controller on VT8235) configured on DHCP.

    typed ifconfig -a in Yast and here's what showed up.


    inet addr:192.168.1.31 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::211:5bff:fe7a:d8df/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:6 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1420 (1.3 Kb) TX bytes:3031 (2.9 Kb)
    Interrupt:10 Base address:0xc400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:134 errors:0 dropped:0 overruns:0 frame:0
    TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:9367 (9.1 Kb) TX bytes:9367 (9.1 Kb)

    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    I know I am doing something wrong here. Can anybody help?
    I am very new to Linux and I am so interested to learn this OS.

  6. #6
    Just Joined!
    Join Date
    Nov 2004
    Location
    Iowa
    Posts
    43
    What are the results of

    Code:
    ping 4.2.2.2
    and

    Code:
    ping google.com
    from a command line.

  7. #7
    Linux User George Harrison's Avatar
    Join Date
    Mar 2005
    Location
    Pepperland
    Posts
    445
    Quote Originally Posted by Kingedgar
    What are the results of

    Code:
    ping 4.2.2.2
    and

    Code:
    ping google.com
    from a command line.
    I would personally suggest
    Code:
    ping -c 3 google.com
    Go into the kernel and give yourself support for your card and use a dhcp client like dhcpcd.

    EDIT: Your card should already be detected. If not then it is unsupported. If it has been dectected then just issue the command "dhcpcd" as root.
    Registered Linux user #393103

  8. #8
    Just Joined!
    Join Date
    Aug 2005
    Posts
    12
    My card is detected.

    Here are the results of the following:

    ping 4.2.2.2:

    64 bytes from 4.2.2.2 icmp_seq=197 tt1=247 time=51.2 ms

    and just goes on endlessly...

    ping google.com:

    ping: unknown host google.com

    ping -c 3 google.com:

    /sbin/modify_resolvconf:line 245: /etc/init.d/lwresd:No such file or directory

    Do these thing help?

  9. #9
    Linux User George Harrison's Avatar
    Join Date
    Mar 2005
    Location
    Pepperland
    Posts
    445
    hmm.. well if the card is detected and you are receiving ping then there shouldn't be a problem..

    As root run "dhcpcd".

    EDIT: oh wait, you aren't receiving ping. Google was an unknown host. Run dhcpcd and check your /etc/resolv.conf file.
    Registered Linux user #393103

  10. #10
    Just Joined!
    Join Date
    Aug 2005
    Posts
    12
    I got it connected, only if I connect my linux machine directly to my modem.

    Do you think it is the router that's not good?

    Coz my other machines won't have any connections.

Page 1 of 2 1 2 LastLast

Posting Permissions

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