![]() |
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. |
Look at this article and see if it helps. Post back if you have any questions.
|
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! |
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". |
if got this when i do the /sbin/ifconfig
lxuser@streamyx :~ /sbin/ifconfig 1o Link Encap : local loopback inet addr : 127.0.0.1 Mask : 255.0.0.0 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 lxuser@streamyx:~>/sbin/route Kernel IP Routing Table Destination Gateway Genmask Flags Metric Ref Use Ifaec Loopback * 255.0.0.0 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) http://en.opensuse.org/SDB:Using_an_..._in_SUSE_LINUX Now it's different?? |
forget my last post, by the way i already have it.
the /sbin/route RESULT: Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 u 0 0 0 eth1 link-local * 255.255.0.0 u 0 0 0 eth1 loopback * 255.0.0.0 u 0 0 0 eth1 default mygateway.ar7 0.0.0.0 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: 192.168.1.11 Bcast :192.168.1.255 Mask :255.255.255.0 Quote:
so?the question now which one of these number are the default gateway??? |
isn't there anyone???still sleeping?
|
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. |
tq..now i already browsing internet, tq so much jschiwal.
|
| All times are GMT -5. The time now is 07:10 PM. |