LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-25-2004, 05:49 AM   #1
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
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...
 
Old 10-25-2004, 05:55 AM   #2
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Have you tried to configure the Network card through YaST?
 
Old 10-25-2004, 06:12 AM   #3
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 10-25-2004, 06:57 AM   #4
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
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

Last edited by Harryc; 10-25-2004 at 06:59 AM.
 
Old 10-25-2004, 01:03 PM   #5
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 10-25-2004, 01:25 PM   #6
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
# 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

Last edited by Harryc; 10-25-2004 at 02:28 PM.
 
Old 10-25-2004, 01:28 PM   #7
Lachine_sculler
LQ Newbie
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: SuSe
Posts: 10

Rep: Reputation: 0
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)
 
Old 10-25-2004, 01:30 PM   #8
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
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"

Last edited by onelung02; 10-25-2004 at 01:32 PM.
 
Old 10-25-2004, 05:43 PM   #9
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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..
 
Old 10-25-2004, 08:00 PM   #10
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
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.
 
Old 10-25-2004, 09:26 PM   #11
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Harryc yes a have a router and know dns ip addressess
 
Old 10-27-2004, 06:29 PM   #12
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
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. .
 
Old 10-27-2004, 07:10 PM   #13
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

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....
 
Old 10-27-2004, 07:12 PM   #14
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Sure, anytime. Have fun with 'online SuSE'. .
 
Old 11-02-2004, 12:39 PM   #15
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

thanks harryc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10 Internet problem pseudonym67 Linux - Newbie 6 11-03-2005 10:19 AM
Problem with Internet in Suse 9.3 Nickay SUSE / openSUSE 3 11-01-2005 07:22 AM
SUSE internet installation Problem nona SUSE / openSUSE 2 10-26-2005 10:25 PM
Suse internet problem ksgill Linux - Newbie 4 10-18-2004 08:35 PM
Internet problem on SuSE J_angel2000 Linux - Newbie 5 02-26-2004 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration