LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 08-30-2008, 07:35 AM   #1
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Rep: Reputation: 0
Cable modem problem, damn small and Broadcom BCM5752


I've been trying to help my cousin over the phone for about three days and no luck with BellSouth DSL and damn small.
A user on another forum stated that with damn small the /etc/network/interfaces file isnt needed.
I've used netcardconfig and set it to dhcp but still can't connect direcly to my cable modem.
I have my computer setup as follows:

PC #1 Asus desktop
Kubuntu 8.04 and two network cards
Asus p5gc-mx/1333 motherboard
eth0 network card is a sundance technology (pci slot)
eth1 network card is a attansic technology (on the motherboard)
eth0 is static and is connected to my lan using a crossover cable and connected to pc #2 laptop
eth1 is dhcp and is connected to my cable modem

desktop /etc/network/interfaces file
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
up sudo ethtool -s eth0 autoneg off speed 100 duplex full

auto eth1
iface eth1 inet dhcp
up sudo ethtool -s eth1 autoneg on speed 100 duplex full


PC #2 Dell laptop
Damn Small 4.4.4 and one network card
Dell D620 laptop
eth0 network card is a Broadcom BCM5752 gigabit ethernet (on the motherboard)
This NIC uses the 'tg3' kernel module.

laptop /etc/network/interfaces files when using static
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1

laptop /etc/network/interfaces file when using dhcp
auto eth0
iface eth0 inet dhcp

I can connect to the Internet using dhcp when my desktop is connected to my cable modem.
I can connect to the Internet using static when my laptop is connected to pc #1 using the crossover cable.
I can connect to the Internet using dhcp when my laptop is connected to my work network using a nic cable. (my job has a Novell server)
I can't connect to the Internet using dhcp and a nic cable when my laptop is directly connected to my cable modem.
Cable modem is a Motorola SB4200 surfboard cable modem

I've modified my resolv.conf to include my ISP's name servers.
I've modified my network/interfaces file to say: iface eth0 inet dhcp
Using "pump -i eth0" for dhcp didn't work
I figured if I can get my laptop to work directly connected to my cable modem then I can get my cousin's system working.

I've even tried a puppy linux 2.17.1 boot cd and I still can't connect directly to my cable modem.
Do you think it's some kind of incompatiblity problem between the Broadcom BCM5752 and the Motorola cable modem?
I'll see if I can install the version of the BCM5752 driver on Broadcom's website.
Oops, since I'm using kernel 2.4.31 I can't use the latest BCM5752 driver because it's for kernel 2.6

Here are some results from ifconfig eth0:
rx packets: 15545
tx packets: 108
errors: 0
rx bytes: 1011289
tx bytes: 22673
interrupt: 10
Any ideas?

Last edited by pcdoctor01; 08-30-2008 at 08:07 AM.
 
Old 08-31-2008, 12:23 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Try connecting the laptop directly to the cable modem. If it gets an address, and I think it will, then you will have to look at your Dell machine as the problem. I suspect that you do not have the Dell set up as a router which you have to do to get your configuration to work. (ipforwarding)
 
Old 08-31-2008, 01:21 PM   #3
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie View Post
Try connecting the laptop directly to the cable modem. If it gets an address, and I think it will, then you will have to look at your Dell machine as the problem. I suspect that you do not have the Dell set up as a router which you have to do to get your configuration to work. (ipforwarding)
The laptop is connected directly to the cable modem. When the laptop is connected directly to the cable modem that's the only time I can't connect to the Internet and can't get an ip address via DHCP. Here is info from my first post.

"I can't connect to the Internet using dhcp and a nic cable when my laptop is directly connected to my cable modem.
Cable modem is a Motorola SB4200 surfboard cable modem."

Here are some results from ifconfig eth0:
rx packets: 15545
tx packets: 108
errors: 0
rx bytes: 1011289
tx bytes: 22673
interrupt: 10

When my laptop is connected this way I never get an ip address or subnet mask.
laptop /etc/network/interfaces file when using dhcp
auto eth0
iface eth0 inet dhcp
The only way I can connect to the Internet with the Dell D620 laptop is when I the laptop is connected to PC#1 using the crossover cable.

If anyone has the following configuration with damn small please post your fix on how you got your desktop or laptop to work when using damn small linux along with a desktop or laptop connected directly to a cable or dsl modem.
1. Damn Small Linux, cable modem with a desktop or laptop connected directly to the cable modem.
or
2. Damn Small Linux, dsl modem with a desktop or laptop connected directly to the dsl modem.

Last edited by pcdoctor01; 08-31-2008 at 05:08 PM.
 
Old 08-31-2008, 06:10 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
If the NIC on the laptop works when it is connected to the desktop then it should work when it is connected to the cable modem. I don't see how a hardware driver will affect a DHCP request.

Do you power off the laptop between connecting it to the desktop machine and connecting it to the cable modem?

Have you logged on to the cable modem to see if it can supply more than one address? Does the cable modem have a filter to only supply addresses to a specific hardware address?

I would disconnect the desktop machine from the cable modem and power off the cable modem. Then I would power off the notebook machine. Then I would power on the cable modem. Once it was fully configured I would plug the notebook NIC into the cable modem and then turn the power on for the notebook computer. Then see if it can get an address via DHCP.

I would also use a more popular live CD distribution to see if it will work. Ubuntu would be a good choice.

Also I don't like to see zeros in a subnet address. I could be wrong but I would replace the third octet with a number higher than zero.

Last edited by stress_junkie; 08-31-2008 at 06:19 PM.
 
Old 08-31-2008, 06:32 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Just to elaborate on stress_junkie's post typically cable ISPs standard service only provides one dynamic IP address. The cable modem stores the MAC address of last attached network device in volatile memory and will not provide an IP address if it changes i.e if one connects a different computer without first removing power to the device. That is probably why your laptop works in the office and via a crossover cable and not directly to the modem.

Now, how does this relate to your cousin's problem with DSL (i.e. digital subscriber line)
 
Old 08-31-2008, 06:42 PM   #6
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Just to elaborate on stress_junkie's post typically cable ISPs standard service only provides one dynamic IP address. The cable modem stores the MAC address of last attached network device in volatile memory and will not provide an IP address if it changes i.e if one connects a different computer without first removing power to the device. That is probably why your laptop works in the office and via a crossover cable and not directly to the modem.

Now, how does this relate to your cousin's problem with DSL (i.e. digital subscriber line)
I put damn small on my cousin's old pc that I gave him and it won't connect to the Iternet when connected to a Netgear router that connected to a westell dsl modem. I asssume if I can fix my problem then I can fix his.

My laptop works on my home network with the crossover cable and at the office by just plugging in a nic cable to a Novell network.

I'll try the following:
"I would disconnect the desktop machine from the cable modem and power off the cable modem. Then I would power off the notebook machine. Then I would power on the cable modem. Once it was fully configured I would plug the notebook NIC into the cable modem and then turn the power on for the notebook computer. Then see if it can get an address via DHCP."

I've already tried Debian 4.04 r4a, Kubuntu and puppy linux. All won't allow me to connect to the Internet when directly connected to the cable modem. The desktop that I gave my cousin is old so that's why I put damn small on it. The Dell D620 I'm just playing around with.

I appreaciate your help guys and responses!
Thx for being patient with a frustrated woman!
 
Old 08-31-2008, 07:02 PM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by pcdoctor01 View Post
I'll try the following:
"I would disconnect the desktop machine from the cable modem and power off the cable modem. Then I would power off the notebook machine. Then I would power on the cable modem. Once it was fully configured I would plug the notebook NIC into the cable modem and then turn the power on for the notebook computer. Then see if it can get an address via DHCP."
Make sure it's not a crossover cable.
Quote:
Originally Posted by pcdoctor01 View Post
I've already tried Debian 4.04 r4a, Kubuntu and puppy linux. All won't allow me to connect to the Internet when directly connected to the cable modem. The desktop that I gave my cousin is old so that's why I put damn small on it. The Dell D620 I'm just playing around with.
The Kubuntu is a good test. Don't know if I would trust the others.
Don't give up.

Last edited by stress_junkie; 08-31-2008 at 07:04 PM.
 
Old 08-31-2008, 08:28 PM   #8
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Stress_junkie,

You have solved my problem.
Thx so much!
I've been tearing my hair out trying to solve this.
Doh, I didn't think about powering off the cable modem.
My laptop now see dhcp when directly connected to the cable modem.

Now for problem #2.
My cousin have three pcs connected to his Netgear router WGR614 and a Westell dsl modem (BellSouth).
I installed damn small on one of the pcs for him.
A xp desktop and a vista laptop connect to the Internet fine while the damn small pc doesn't see the Internet.
Any ideas?
Of course the damn small pc is set for dhcp.
The netgear uses 192.168.0.1 (I think) for it's gateway.
I wasn't sure if he needed to change some setting in the netgear config.
From what I remember, his router is set to use the router at dhcp.
 
Old 08-31-2008, 08:41 PM   #9
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
If the Windows machines can connect to the Internet then the DSL modem and the Netgear are okay. I don't know anything about Damn Small Linux. I think the first thing I would do is see if either dhcpd or dhclient are run during startup. Some distributions use dhcpd while other distributions use dhclient. Find out which one is installed, if any, by using the which utility.
Code:
which dhcpd
which dhclient
You will probably only have one. Try running the one that you've got as root.
Code:
su
dhclient eth0
or
Code:
sudo dhclient eth0
My ignorance of Damn Small Linux is getting in the way of being helpful.
 
Old 09-01-2008, 05:00 AM   #10
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
No problem stress, I think my cousin wants me to put win98 on this old pc. I told him that most anti-virus software is not meant for win98 nowadays. So, I'll play it by ear. Thx for your help once again!
 
Old 09-01-2008, 09:44 AM   #11
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Hey Stress for helping me, do you want a free Fox dvd demo disc? It's great for testing out your surround system.
http://webpages.charter.net/glenise/stuff/foxdemo2.jpg
 
Old 09-01-2008, 10:26 AM   #12
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by pcdoctor01 View Post
Hey Stress for helping me, do you want a free Fox dvd demo disc? It's great for testing out your surround system.
http://webpages.charter.net/glenise/stuff/foxdemo2.jpg
That looks great!
 
Old 09-01-2008, 10:29 AM   #13
pcdoctor01
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I'm headed out for a little bit but please send me your mailing address so I can send this to you. Send me a PM.
 
  


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
Problem with install Damn Small Linux on USB pen TuxNewBie Linux - Software 1 03-28-2008 10:44 AM
Keyboard problem Damn small dsl Libertes Linux - Newbie 2 08-26-2007 07:28 PM
Damn Small Lnux Installation problem dinesh_t Linux - Hardware 0 02-04-2007 02:13 AM
Damn Small Linux...booting problem dip_xp3 Linux - General 2 11-28-2006 06:21 AM
Damn Small.. shinny Linux - Software 2 08-21-2005 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration