Click to See Complete Forum and Search --> : Internet Setup on Suse 10.1
Dutty
09-18-2006, 02:58 PM
I am completely new to Linux and having some trouble getting the internet working. A dsl modem connected to a hub and i am trying to get internet on the Linux computer but with no luck thus far from what i gather though when i boot in windows the DHCP assigned address is 10.0.0.1 when booting in linux however the ip address is 127.0.0.1. I have been doing some tinkering however no internet any assiatnce would be higly appreciated :D
P.S. I had previously installed Mandriva and had no problems getting the internet up and running
je_fro
09-18-2006, 07:45 PM
The 127.0.0.1 IP is for internal use by your machine. Can you use yast to bring up eth0?
When eth0 is up, the output from ifconfig should show you two ip's:
$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:81:2C:91:9E
inet addr:192.168.1.3 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22218915 errors:0 dropped:0 overruns:0 frame:0
TX packets:22219363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17325158075 (16522.5 Mb) TX bytes:11827434883 (11279.5 Mb)
Interrupt:16
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:1768 errors:0 dropped:0 overruns:0 frame:0
TX packets:1768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1631366 (1.5 Mb) TX bytes:1631366 (1.5 Mb)
Dutty
09-19-2006, 10:56 AM
thanks but firstly remember i am new to linux. I brought up yast but saw no ifconfig or option to bring up such thing thing. All i want to know is how to setup the dhcp client and get my internet working thanks in advance. Please be as specific as possible remember im a windows guy :D
frimann
09-19-2006, 05:40 PM
Yast open network devices - network card - to see if it is set up, usually its just a next button a few times.
To run "ifconfig" you open a teminal, under system in the menu, tipe "su" (without " ") and your root password then ifconfig.
Dutty
09-20-2006, 11:48 AM
I did the ifconfig and this is what i got
eth0 Link encap: Ethernet HWaddr 00:08:A1:93:b8:Ab
inet addr: 169.254.48.77 Bcast: 169.254.255.255 Mask: 255.255.0.0
inet6 addr: fe80::208:a1ff:fe93:b8ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 31 errors: 0 dropped: 0 overruns: 0 frame: 0
Collisions: 0 txqueuelen: 1000
RX bytes:0 (0.0b) TX bytes: 3521 (3.4kb)
Interrupt: 209 Base address: 0xe800
Lo Link encap: Local loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
inet6: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU: 16 436 Metric:1
RX packets: 61 errors: 0 dropped: 0 overruns:0 frame: 0
TX packets :61 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 0
RX bytes: 4291 (4.1 kb) TX bytes: 4791 (4.1kb)
please advise me further thanks in advance
frimann
09-20-2006, 12:44 PM
try "dhcpcd eth0"
run it the same way as ifconfig and that asks for a ip from the router
Dutty
09-20-2006, 02:48 PM
there is no router just the modem into a hub and from the hub to the pc