LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-19-2006, 10:27 PM   #1
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
Problems connecting to home network and internet


Hi all,

As you might have guessed, I am a Linux newbie. I've encountered a problem on my computer where I am unable to access the internet. I am currently running Slackware 10.1 on a dualboot with Windows 98 as the other OS using LILO. The system is connected to a home network where other PCs running Windows OSes are also connected. The thing is when I boot up in Windows 98 on the same machine, it connects fine to the internet, however, when I boot up in Slackware in the KDE desktop, I can't view any web sites on Konquerer or Mozilla. I ran netconfig and entered a random name "blue-machine" as my hostname, I used the Telus(my ISP) Connection-specific DNS Suffix as my Domain and chose the DHCP option and left DHCP Host Name as blank. I used startx to boot up my desktop and I couldn't get on-line. I then attempted to manually configure the settings through netconfig with "Static IP" using the same names for the first two options, then 192.168.123.103 as the IP address for the local machine which is what it is listed as IP Address when I boot up in Windows 98. I used 255.255.255.0 as the mask and 192.168.123.254 as the gateway address as listed in Windows 98. When it asked about the Name Server, I tried ab.hsia.telus.net as well as leaving it blank. Neither worked. The thing is I had it working before but I had to reinstall Slackware when I forgot my root password. It was the same setup but I don't remember what I used in my original configuration. I know I am definitely editting the same Ethernet card in Slackware as I am using in Windows 98 because the MAC addresses are the same.

When I type in ipconfig /all on one of my other machines, I get:

Windows IP Configuration

Host Name . . . . . . . . . . . . : green-machine
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ab.hsia.telus.net

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : ab.hsia.telus.net
Description . . . . . . . . . . . : 3Com Gigabit LOM (3C940)
Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.123.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.123.254
DHCP Server . . . . . . . . . . . : 192.168.123.254
DNS Servers . . . . . . . . . . . : 192.168.123.254
Lease Obtained. . . . . . . . . . : July 19, 2006 8:15:26 PM
Lease Expires . . . . . . . . . . : July 26, 2006 8:15:26 PM

Typing in ifconfig on my Slackbox, I get:

eth0
Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
BROADCAST MULTICAST MTU:1500 Meric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
colissions:0 txqueuelen:1000
RX bytes: 0 (0.0 Kb) TX bytes 4720 (4.6 Kb)
Interrupt:11 Base address:0x2000

There's another device "lo" but I doubt it's relevent so I won't go through typing it up. Please if anyone has any information that could help me solve this dilemma, let me know. Thanks in advance!

Chris
 
Old 07-20-2006, 01:45 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 623
Blog Entries: 1

Rep: Reputation: 49
You might want to look at the security setup on your Slackware, things like firewalls, etc. By default, the typical linux is installed with security like that on and all net functions blocked.
 
Old 07-20-2006, 03:41 AM   #3
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi there,

Nope, no firewalls are activated.
 
Old 07-20-2006, 04:04 AM   #4
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
I used the Static IP option and eth0 now looks like this (note, I've also changed the IP address from 192.168.123.103 to 192.168.123.106:

eth0
Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.123.106 BCAST:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
colissions:0 txqueuelen:1000
RX bytes: 0 (0.0 Kb) TX bytes 4720 (4.6 Kb)
Interrupt:11 Base address:0x2000
 
Old 07-20-2006, 04:14 AM   #5
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
When I type in netstat -rn, I get this:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.123.254 0.0.0.0 UG 0 0 0 eth0
 
Old 07-20-2006, 04:17 AM   #6
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
When I type in mii-tool eth0, I get:
eth0 negotiated 10baseT-FD, link ok

When I type in ethtool eth0, I get:
Settings for eth0:
No data available.
 
Old 07-20-2006, 04:26 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Erhh ...

Run netconfig again.
Make sure you look up the name-servers IP address. Without a name server,
how would slack resolve the name-servers name? ;}

Also, which is your default gateway/router?


Cheers,
Tink
 
Old 07-20-2006, 04:43 AM   #8
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster
Erhh ...

Run netconfig again.
Make sure you look up the name-servers IP address. Without a name server,
how would slack resolve the name-servers name? ;}

Also, which is your default gateway/router?


Cheers,
Tink
Hi Tink,

How do I look up the name-servers IP address? Do I use my ISP's or "192.168.123.254" listed under DNS Servers on all my other machines' ipconfig /all?

I set 192.168.123.254 as my default gateway/router because that's the IP my router is set as.

Thanks.
 
Old 07-20-2006, 07:20 AM   #9
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Ok, seems all a bit weird.....

Can you ping your router?
Can you ping other machines on your LAN?
Can you get online if you use the IP address instead of the domain name?

I noticed with both extracts from 'ifconfig eth0' that you've posted you have 8 TX errors.

Is there anything in /var/log/messages?
Any useful output from ethereal perhaps that might tell you where it's going wrong?
 
Old 07-20-2006, 09:12 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Isn't 192.168.123.254 a DHCP server? Your Win ipconfig results say so. It seems to be assigning the IP addresses to the rest of the LAN w/o problem. Why aren't using it for the Slackbox?
 
Old 07-20-2006, 03:01 PM   #11
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mickyg
Ok, seems all a bit weird.....

Can you ping your router?
Can you ping other machines on your LAN?
Can you get online if you use the IP address instead of the domain name?

I noticed with both extracts from 'ifconfig eth0' that you've posted you have 8 TX errors.

Is there anything in /var/log/messages?
Any useful output from ethereal perhaps that might tell you where it's going wrong?
Hi, no I can't ping my router, says it's unreachable, same with other machines on my LAN. I don't know what you mean about getting online using the IP address instead of the domain name.
 
Old 07-20-2006, 03:02 PM   #12
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by archtoad6
Isn't 192.168.123.254 a DHCP server? Your Win ipconfig results say so. It seems to be assigning the IP addresses to the rest of the LAN w/o problem. Why aren't using it for the Slackbox?
I did set it as my DHCP server but it isn't doing anything.
 
Old 07-20-2006, 03:37 PM   #13
christhepenguin
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, I just noticed that my Slackbox connects to the internet and does the DHCP just fine if I connect it directly to my ADSL modem but not if I connect it through my router?
 
Old 07-27-2006, 01:42 PM   #14
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Any chance the router is/was also doing DHCP?

Normally, you should have only 1 DHCP server running at a time.
 
  


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
problems connecting to the internet via private home network pinzerbib Linux - Newbie 3 04-20-2004 04:27 PM
Belkin F5D6001 network problems, connecting and internet om3ga Linux - Wireless Networking 9 03-16-2004 01:22 PM
connecting linux to windows98 home network and dsl internet L_netgram3 Linux - Networking 2 10-02-2003 04:43 AM
connecting linux to windows98 home network and dsl internet L_netgram3 Linux - Networking 2 10-02-2003 04:43 AM
connecting linux to windows98 home network and dsl internet L_netgram3 Linux - Networking 3 10-02-2003 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 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