-   Linux - Networking (
-   -   opensuse, cannot and don't know how to connect to the internet (

kuszmania9999 12-07-2007 11:20 PM

opensuse, cannot and don't know how to connect to the internet
i have opensuse and i never connect it to the internet, it is a fresh install.
Now, i want to connect it,i dont know how to find the ip address, the dns, dhcp even everyhing and where should i put it.I'm very new to this opensuse.
I try to connect this computer from a cyber cafe via lan cable.
Can anyone lead me to 1by1 step?I'm only good with windows xp.

reddazz 12-08-2007 12:17 AM

Look at this article and see if it helps. Post back if you have any questions.

kuszmania9999 12-08-2007 03:46 AM

I don't even understand it,i don't know how and where to start.
It doesn't showed command to get the ip.
I'm really stuck and frustrated!

jschiwal 12-08-2007 04:17 AM

In a cybercafe, you probably need to use DHCP. You can set that in "YaST2 -> Network Devices -> Network Card"

Select your nic device and click on the "Configure" button.
In the device configuration page, Click on the General Tab. I think that for using in a cybercafe, the "Device Activation" on the top should be "On Cable Connection".

Click on the "Address" tab at the top. Make sure that Dynamic Address is selected. Using DHCP should be fine but you might try "DHCP + Zeroconf" as well if you still don't get an IP address and gateway assigned.

You can look at what these are with the command "/sbin/ifconfig" in the console. The cybercafe's dhcp server should also give you a default gateway address. You can enter "/sbin/route" and see if it is listed. Look at the line with the flags "UG".

kuszmania9999 12-08-2007 08:50 PM

if got this when i do the /sbin/ifconfig

lxuser@streamyx :~ /sbin/ifconfig
1o Link Encap : local loopback
inet addr : Mask :
inet addr: ::1/128 Scope : Host
Up Loopback Running MTU : 16436 Metric :1
RX Packets : 24 error:0 Dropped:0 Overruns:0 Frame:0
TX Packets : 24 error:0 Dropped:0 Overruns:0 Carrier:0
Collision:0 txquelen:0
RX Bytes :1352 (1.3kb)
TX Bytes :1352 (1.3kb)

and for the /sbin/route


Kernel IP Routing Table
Destination Gateway Genmask Flags Metric Ref Use Ifaec
Loopback * u 0 0 0 1o

Only that, i write down it on paper, sorry for any misspell.

I post this because before this i already do some search and how to get the ip address.
Before this i got something like in the link below (see the 2 ip address & route diagram)

Now it's different??

kuszmania9999 12-08-2007 10:13 PM

forget my last post, by the way i already have it.

the /sbin/route RESULT:

Destination Gateway Genmask Flags Metric Ref Use Iface * u 0 0 0 eth1
link-local * u 0 0 0 eth1
loopback * u 0 0 0 eth1
default mygateway.ar7 UG 0 0 0 eth1

and for the /sbin/ifconfig
(note that i only write down this coz it too much to write)

eth1 : inet addr: Bcast : Mask :


Look at the line with the flags "UG".
there's only "default", "mygateway.ar7", ""

so?the question now which one of these number are the default gateway???

kuszmania9999 12-09-2007 07:27 PM

isn't there anyone???still sleeping?

jschiwal 12-10-2007 01:21 AM

The default gateway is listed in the route output line with the flag "UG". The G is for the gateway. So it is "mygateway.ar7". The actual IP address may be given in /etc/hosts.

You can also look at the contents of /etc/resolv.conf. It should list the ISPs nameserver addresses. This should also be supplied by DHCP.

kuszmania9999 12-10-2007 07:25 AM i already browsing internet, tq so much jschiwal.

All times are GMT -5. The time now is 07:36 PM.