LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2006, 04:48 AM   #1
dan6540
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
Internet


Hello, I am a new user to SUSE 10, and this is my first time using linux. The problem I'm having is connecting to the internet, I have a dlink wireless modem/router, which has an ethernet cable connected to my linux computer. Can anyone help me configure linux so that it can pick up the internet signal from the ethernet/network cable?????
 
Old 01-26-2006, 04:59 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
What is the output of ifconfig -a please?
 
Old 01-26-2006, 05:10 AM   #3
dan6540
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I dont know the iconfig- is this a problem??where do I find this output? I also have a wireless network adapter-which is an usb one-but linux doesn't seem to realize its there
 
Old 01-26-2006, 05:22 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
open a terminal or konsole or something where you can type away.
Log in as root so type:
su
<enter>
<type in your root password>
<enter>
ifconfig -a
<enter>
and copy-paste the output to this forum!
 
Old 01-26-2006, 08:46 AM   #5
dan6540
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
the output of iconfig -a is

eth0 Link encap:Ethernet HWaddr 00:30:BD:1A0:AC
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:bdff:fe1a:d0ac/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8024 (7.8 Kb) TX bytes:3542 (3.4 Kb)
Interrupt:11 Base address:0x4f00

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:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2708 (2.6 Kb) TX bytes:2708 (2.6 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 01-26-2006, 08:52 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
What is the complete connection setup? eg cable to modem to router to computer. (or phone line to DSL modem to....)

your ifconfig includes an IP address that looks like the address given by the router.

Can you access the router configuration menu (typically by typing 192.168.1.1 in a browser address line---your router docs supersede this)

Can you ping the router? (ping 192.168.1.1 in a terminal window)
 
Old 01-26-2006, 11:59 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
open your web browser and go to address http://192.168.1.1
Enter your connection parameters there.
When your router is connected to the internet, enter the command 'route' in the terminal.
There should be a line looking like this :
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

If this line doesn't appear, enter this command :
route add default gw 192.168.1.1

Then type route again to see if the line appears.

Then try 'ping www.linuxquestions.org'
You should see something like this :
PING www.linuxquestions.org (64.179.4.149) 56(84) bytes of data.
64 bytes from web1.linuxquestions.org (64.179.4.149): icmp_seq=1 ttl=48 time=139 ms
64 bytes from web1.linuxquestions.org (64.179.4.149): icmp_seq=3 ttl=48 time=113 ms
Ctrl+c to stop it.

If this doesn't work, try 'ping 64.179.4.149'.
If this does work, your dns is probably fucked up and you have to add a line for your dns in the /etc/network/interface file, but I doubt you'll have to do this because it looks like you get your adress from the dhcp, so your dns is probably well configured.

Open your web browser and enjoy surfing

Last edited by Agrouf; 01-26-2006 at 12:03 PM.
 
Old 01-27-2006, 04:40 AM   #8
dan6540
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Internet now working, thanks everyone for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 12:05 PM
iptables. Can ping through to internet side nic but can't get to internet gonus Linux - Networking 19 07-15-2004 01:27 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM


All times are GMT -5. The time now is 02:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration