LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-14-2004, 12:40 PM   #1
Brother Michael
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: OS X Leopard
Posts: 284

Rep: Reputation: 30
Network issues...No DHCP


Hey everyone I'm back!

I am having a Slack trouble. It can't detect my universities DHCP Server, and thuse give me a domain name, or an IP address so I can connect to the internet.

This is puzzeling to me, as SuSe and Red Hat were able to find the thing just fine, and when I was running this slack box back at my house, it found my router just fine.

Mike
 
Old 01-14-2004, 01:04 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
As root, type netconfig in command line. You'll need to know the DHCP server name though. Hope this helps.
 
Old 01-14-2004, 01:13 PM   #3
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
And if the DHCP server has no name? Or at least, not one we have access to?

I work for an ISP, unfortunately a different one then I use, and we don't have the information, nor can we get it.

I've taking many phone calls from irate customers who use linux who call us flat out liars when we tell them we don't have that information, nor is it required. From everything I know about DHCP, networks, and TCP/IP, it isn't required. The initial request is a general broadcast.

I've seen a bunch of posts on here saying keep hounding your ISP....Sad fact is, even if you find someone who knows linux, they aren't going to have domain names, DNS addresses, DHCP addresses to give you in most cases. They just aren't available.
 
Old 01-14-2004, 01:55 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
dtjohnst,

My cable internet ISP was the same way, they wouldn't give me the dhcp server name--said it wasn't needed and they don't have it. I simply told them that I run Linux and it IS required and it IS needed. They said they don't have the information. I told them that for the $90 per month I'm paying for their package, they needed to get me someone who DOES know the answer as there is no such thing as a DHCP server without a name or IP address. After about 15 minutes of being put on hold and getting transferred around, I got my answer. I also got a job offer because there was only one other guy who knew Linux there. (I applied and got no response though. )

Whether it's actually required or not, I've got no idea, but I know that with the information, you'll get your system online quickly.

As for them not being available, it's incorrect. SOMEONE knows the answer, and if you're paying for your internet connection, then you should be given the answer you need to get online.
 
Old 01-14-2004, 03:03 PM   #5
Dewar
Member
 
Registered: Sep 2003
Location: Washington State
Distribution: SuSE 8.0, SuSE 9.0, Slack 9.1
Posts: 90

Rep: Reputation: 15
It was not necessary for me on Slackware 9. I didn't have any clue what I was doing. I found the config file, turned the "use dhcp" to yes and it connected just fine without any DHCP address. I'm not sure what I did or didn't do, as I am used to SuSE and the yast configuration utility, but if I can work with another slack user to figure out why it's needed sometimes and not others, I'll help however I can.

-Dewar
 
Old 01-14-2004, 07:27 PM   #6
Brother Michael
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: OS X Leopard
Posts: 284

Original Poster
Rep: Reputation: 30
Well I asked my schools, tech support for help, of which they were none. Anyways, I asked them for the information about DHCP for my linux box, the girl paused and said something to the effect of, "We don't support Linux, and thus i can't give you that information."

I will try the suggestions though.

Mike
 
Old 01-14-2004, 07:34 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Maybe it's really just something silly like a
unpatched jack, or a cross-over cable? :)

if you do
ifconfig eth0 172.163.51.0
(just a bogus address), does it work?

Which network module are you using?

Another possibility is that the server is
trying to assign you a lease that matches
your MAC address (you've been there
before) but someone else has that IP at
the moment? (I've seen setups like that).


Cheers,
Tink
 
Old 01-14-2004, 09:01 PM   #8
Brother Michael
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: OS X Leopard
Posts: 284

Original Poster
Rep: Reputation: 30
I know the cable is in the wall, because i can connect to the internet, with my Gentoo LiveCD when i tried installing that flavor.

Thing is I don't know any of the parameters that are supposed to go into the boxes in ipconfig. All the other distros just picked that up.

I am totally and 100% lost.

Mike
 
Old 01-14-2004, 09:36 PM   #9
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by Texicle
dtjohnst,

My cable internet ISP was the same way, they wouldn't give me the dhcp server name--said it wasn't needed and they don't have it. I simply told them that I run Linux and it IS required and it IS needed. They said they don't have the information. I told them that for the $90 per month I'm paying for their package, they needed to get me someone who DOES know the answer as there is no such thing as a DHCP server without a name or IP address. After about 15 minutes of being put on hold and getting transferred around, I got my answer. I also got a job offer because there was only one other guy who knew Linux there. (I applied and got no response though. )

Whether it's actually required or not, I've got no idea, but I know that with the information, you'll get your system online quickly.

As for them not being available, it's incorrect. SOMEONE knows the answer, and if you're paying for your internet connection, then you should be given the answer you need to get online.
Well, everything has an IP address, certainly. If it didn't, it wouldn't be able to get online. They all also have a name in most cases. However, take for example the ISP I work for......we have hundreds of DHCP servers throughout the network. When you attempt to renew your IP, a broadcast is made to everything in the network. Every DHCP which receives that request replies, and the network device grabs the first set of IP, DNS, and gateway addresses it receives, and ignores the rest.

So you see...with our ISP, we don't have that information. In fact, the only way to get it, would be to find someone else with our service and get it from their DHCP information after they're retrieved a valid IP. However, that may not be the best server to use.

So really, the name isn't needed, and it's not very efficient to use one. There must be a way to make linux work without one, otherwise, someone will need to recode the way the protocol works in linux to take advantage of these newer technologies to their fullest potential.
 
Old 01-14-2004, 10:11 PM   #10
Brother Michael
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: OS X Leopard
Posts: 284

Original Poster
Rep: Reputation: 30
The problem is that Slackware, can't autodetect the settings, and I didn't know what neede to be put in. Thankfully my SuSe Live-Eval came through for me again, and I simply looked at what it had the settings at.

On a side note, this topic is done. I have been working on this problem for 4 days now (it all started with a virus in windows that despit my best efforts i cannot delete or evade). I had Slackware running at one point in time, for some reason it isnt working here at school. I am switching to Suse. Why I ever left my slack install that i had a month ago, I will never know...

Thanks everyone,
Mike
 
Old 01-14-2004, 11:44 PM   #11
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Well...my problem isn't fixed, and no one seems to be answering my thread, so I'll just hijack this one.

How can I get the insmod to run on boot? How can I bring my adapter up on boot?

I'm going to try and figure out DHCP without needing an IP, but I'm not overly concerned. When I get home tonight, I'm going to try getting my settings off of windows, then boot to slack and throw in all the static information.
 
Old 01-15-2004, 04:09 AM   #12
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Ok, here's the update. Setting everything statically STILL didn't work. I configured my domain name, gateway, IP, DNS's....still can't ping a url or any IP outside my network.

ifconfig still shows my adapter as eth0, drivers installed, and if I do an ifconfig eth0 xxx.xxx.x.x it shows my IP and subnet, althought my subnet is the first 2 octets of my IP then .255.255, instead of all 255's, I dunno if that makes a difference. 4AM is too late to be messing around.

Someone must know how to solve this. How come I get ping past my gateway, which is my router?
 
Old 01-15-2004, 01:46 PM   #13
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Quick recap

I have an ISP that uses DHCP for IP addressing, gateway, and DNS information. I also have managed to use some neat tools I've stumbled across to locate information like host name, domain name, and DNS and gateway information I retrieved from when my system is booted in WinXP.

The device is detected as seen in dmesg and all settings are correct. After running ifconfig eth0 the device does not get an IP address, nor can it be used. If I statically set my IP (which will only work when connected to my router as my ISP requires DHCP), DNS, gateway, host, and domain name, I can ping my router and other computers in my network, but cannot resolve hostnames or ping past the router.

So, we know the card is working, we know linux can detect it and work with it IF it's configured statically, but then I am unable to get past my router. If I disconnect the router and connect directly to the cable modem, I can't do anything, since static IP's won't work through my ISP and I can't seem to force my linux to renew it's address.

So if it isn't the router, and it isn't the NIC, and everything is installed, how come I can't connect?
 
Old 01-15-2004, 02:42 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Rrrright ...

Now, please, give's the output of
ifconfig
route
cat /etc/resolv.conf
cat /etc/host.conf
iptables -L

It would also be interesting to check whether
dhcpcd, dhclient, pump or whatever daemon
you're using is actually installed/running...

If you're worried about intrusions replace the actual
values for your internet presence with some consistent
bogus scheme....


Cheers,
Tink
 
Old 01-15-2004, 03:45 PM   #15
dtjohnst
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Rrrright ...

Now, please, give's the output of
ifconfig
route
cat /etc/resolv.conf
cat /etc/host.conf
iptables -L

It would also be interesting to check whether
dhcpcd, dhclient, pump or whatever daemon
you're using is actually installed/running...

If you're worried about intrusions replace the actual
values for your internet presence with some consistent
bogus scheme....


Cheers,
Tink
ok. Will do, as soon as I get home. I haven't installed or ran any daemon's, so that could be the problem too. I don't want to run any servers, just connect, do I need a daemon running? If so...how do I go about that? I work until 1AM CST, so, it'll be awhile before I those outputs for you.
 
  


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
DHCP Networking Issues knobdy Suse/Novell 9 10-18-2005 01:50 PM
DHCP issues with SB5100 wingnut64 Linux - Networking 3 09-30-2004 01:43 AM
DHCP issues with MANDRAKE 9.0 chromelocust Linux - Networking 2 03-21-2003 02:28 PM
dhcp issues axs89 Linux - Networking 2 02-17-2003 08:56 PM
dhcp issues.... Linuxchallenged Linux - Networking 4 06-27-2001 01:38 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration