LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse and internet problem (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-and-internet-problem-247028/)

hakkinen 10-25-2004 05:49 AM

Suse and internet problem
 
Hi,
I setup suse 9.1 to my computer and i have dsl internet connection(i use ethernet card and modem is not usb) but i cant connect to the internet.I am looking for a solution by step by step.
Thank You...

Harryc 10-25-2004 05:55 AM

Have you tried to configure the Network card through YaST?

hakkinen 10-25-2004 06:12 AM

yes my network card is properly configured but i think i cant configure my dsl connection and i dont know dsl connection details if i learn that may be i connect it.

Harryc 10-25-2004 06:57 AM

Run these commands and post results here; How are you connected to your DSL modem, directly or through a router?

Code:

# ifconfig
Code:

# cat /etc/resolv.conf
Code:

# netstat -rn

hakkinen 10-25-2004 01:03 PM

suse and internet
 
Dear Harryc ,
When i write your command i get these result..

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:06:4F:0F:14:47
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:4fff:fe0f:1447/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3381 (3.3 Kb) TX bytes:618 (618.0 b)
Interrupt:9 Base address:0xd800
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:250 errors:0 dropped:0 overruns:0 frame:0
TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18490 (18.0 Kb) TX bytes:18490 (18.0 Kb)

# cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

# netstat _rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

Harryc 10-25-2004 01:25 PM

# cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

Run this a superuser

Code:

# su -
root password

Code:

# cat /etc/resolv.conf
Also do this one;

Code:

# ping 64.179.4.149

Lachine_sculler 10-25-2004 01:28 PM

If you go into YaST network services options and click on routing, what is chosen for your default gateway? (It should be the same as your DSL provider)

onelung02 10-25-2004 01:30 PM

hehe, this problem, oh man. Do me a favor and do this for me
1. Open your console
2. # pico /etc/resolv.conf
3. Scroll down to where it says the nameservers.
4. See if one of the nameservers is your modem IP, and if so, change that to your computer IP.
5. Exit, which I believe is ctrl+x, and then when it prompts to save say yes, and it when it prompts to overwrite, hit enter for yes.
6. Try your connection now.

Now if this works don't smile just yet lol, because when you restart it will reset and you do have to do this process again, BUT, you can configure your network card to not reset the DHCP. This is done in yast. If you cannot figure out how to configure the card please post again. I am not in front of my linux box right now or I would post a step by step for that, but you should be able to figure it out. I will check back soon, PLEASE update with progress!!!! Good luck.

Oh yes VERY IMPORTANT, make sure that your su in the console before you do ANY of this:
#su
#"root password"

hakkinen 10-25-2004 05:43 PM

Dear onelung02 ,
i wite tis command # pico /etc/resolv.conf but there is nothing in tih file only write at the bottom exit read etc.If you write step by step i will be very happy because i cant not connect and whe i encounter a problem i open windows xp for internet

And Dear Harryc

i am su and i write # cat /etc/resolv.conf but there is same error no such file or directory and i ping this address 64.179.4.149 say network unreachable..

Harryc 10-25-2004 08:00 PM

Ok, you didn't mention if you had a router iin your network. This is important so that we get your gateway right. Also, you need to find out the IP addresses of your ISP's DNS servers(check their website FAQ or help section). Post back with that information and I think we can get you going.

hakkinen 10-25-2004 09:26 PM

Harryc yes a have a router and know dns ip addressess

Harryc 10-27-2004 06:29 PM

Sorry for the delay, was fighting a battle with Gnome 2.8 for a day or so ;).
  • Start up YAST
  • Select Network Devices
  • Select Network Card
  • Select your available network card
  • Select Configure
  • Select, Static Address, enter 192.168.1.3
  • Subnet mask = 255.255.255.0
  • Select 'Host Name and Name Server'
  • Name Server1 = DNS IP address #1 from your ISP
  • Name Server1 = DNS IP address #2 from your ISP if applicable
  • Uncheck the box for 'Update Name Server and Search List via DHCP
  • OK to save
  • Click on 'Routing' on the previous screen'
  • Default Gateway = 192.168.1.0 (per netstat -rn, that should be the IP address for your router.

Check your routers configuration to make sure that it's IP address is set to 192.168.1.0, and that DHCP is disabled. Also make sure that your cable or DSL modems IP address is set in the router host configuration. This is all assuming that you want to set up a static(non changing) IP address network. DHCP is alot easier to use BTW. :).

hakkinen 10-27-2004 07:10 PM

dear harryc , i solve my problem and i connect to the net thank you so much... if i have any problem i can ask you again....;)

Harryc 10-27-2004 07:12 PM

Sure, anytime. Have fun with 'online SuSE'. :).

hakkinen 11-02-2004 12:39 PM

thanks harryc


All times are GMT -5. The time now is 07:41 AM.