| View previous topic :: View next topic |
| Author |
Message |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Thu May 11, 2006 4:54 pm Post subject: New Debian Box |
|
|
Im finally trying my first installation of debian on a real box - all my other attempts were on vmware with NAT enabled and it never failed once.
Do everything on a real box is different. I have an ADSL connection and the ADSL router is connected straight to the PC. Its a stand alone pc but in the future when i learn how to ill use a cross over cable and link it with another pc running windows 2000. What im trying to do is download packages at installation. i choose the right ethernet card and then looks for DHCP server and says it cant find one. My IP from the ISP comes from a DHCP server. It then asks me to configure my network manually.
Anyone got some advice please?
thanks! |
|
| Back to top |
|
 |
ffreeloader Master

Joined: Aug 10, 2005 Posts: 579
|
Posted: Thu May 11, 2006 8:54 pm Post subject: |
|
|
Does your ISP use ethernet or PPOE connections?
Are you saying you have a dsl modem that also does NAT, is a router/switch combination, and is a DHCP server when you say you are hooked into a router? Or, are you saying that you are hooked directly into your adsl modem and it just has one network connection coming from it? I'm confused by your description.
You need to give some specifics, not just generalities, about your setup. What NIC do you have? What module did you load for the NIC? What is the brand and model number of the adsl router? Are you using a straight through cable or a crossover cable between the adsl router and your computer? If you actually have what most people refer to as an adsl/cable router why would you need a crossover cable to another computer? |
|
| Back to top |
|
 |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Thu May 11, 2006 9:10 pm Post subject: |
|
|
| sorry.. the pc is connected to the adsl modem with a straight. Realtek ethernet thats detected during setup. Does setup detect the internet connection automatically? |
|
| Back to top |
|
 |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Thu May 11, 2006 9:22 pm Post subject: |
|
|
let me try explain it again... my adsl modem is connected directly to the PC. Im installing debian and have 2 ethernet cards that are both detected. When it comes time to choose the DHCP server i skip and enter manually because it doesnt detect DHCP. Now im trying to get the installation to be able to use my internet to download packages. sorry about the confusion. |
|
| Back to top |
|
 |
koen Beginner

Joined: Sep 12, 2005 Posts: 224 Location: Belgium
|
Posted: Thu May 11, 2006 9:40 pm Post subject: |
|
|
it's still confusing.
| Quote: | | My IP from the ISP comes from a DHCP server. It then asks me to configure my network manually. |
that doesn't make sense to me - i.e. i don't understand whazt this means.
| Quote: | | When it comes time to choose the DHCP server i skip and enter manually because it doesnt detect DHCP |
What exactly happens when you do try dhcp ? does it time out ? what messages do you get ? what do you get when you type after it doesn't detect dhcp ? what if you type
Before you set up the Linux box and connected it to the adsl modem, was there another computer using that modem / internet connection ? |
|
| Back to top |
|
 |
ffreeloader Master

Joined: Aug 10, 2005 Posts: 579
|
Posted: Fri May 12, 2006 6:21 am Post subject: |
|
|
My guess is, seeing that you have two NIC's, is that you have connected eth1 rather than eth0 to the cable modem and the system is trying to configure eth0 using dhcp.
Other things to look at....
Are the two NIC's identical?
Are you sure the correct kernel module is loaded for each of your NIC's?
If you think the correct kernel modules are loaded how did you verify this?
Did you install from a 100+ mB netinstall cd or download and install from one of the full .iso images? If you installed from a full 650+ mB disk then you most likely have enough tools to work with to troubleshoot this at least somewhat. |
|
| Back to top |
|
 |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Fri May 12, 2006 6:44 am Post subject: |
|
|
| i have figured out the problem and its down to the ISP. My ip address needs to be released and when debian looks for a DHCP server it will renew it. my solution looks like a adsl router (which i dont have at the moment) but will get one more likely today.. sorry about the confusion. |
|
| Back to top |
|
 |
ffreeloader Master

Joined: Aug 10, 2005 Posts: 579
|
Posted: Fri May 12, 2006 11:46 am Post subject: |
|
|
| Your IP address should should have been released when you shut down your other machine. The most you might have to do is to shut down your router and your Debian computer and then start up your router and then your Debian computer, in that order, to get an IP address. |
|
| Back to top |
|
 |
tripwire45 Wizard

Joined: Jul 7, 2003 Posts: 1270 Location: Boise, ID, USA
|
Posted: Fri May 12, 2006 1:22 pm Post subject: |
|
|
Every once in a blue moon when my Debian box loses its dynamic IP because of a reboot, it doesn't automatically (for whatever reason) pick it up again (normally it does...but occasionally an aberation happens). In that eventuality, I use the:
command. This causes the machine to send out a dhcp request and I get an IP in no time. _________________
 |
|
| Back to top |
|
 |
koen Beginner

Joined: Sep 12, 2005 Posts: 224 Location: Belgium
|
Posted: Fri May 12, 2006 2:20 pm Post subject: |
|
|
Some ISP's have their dhcp remember the MAC of their clients so that when you attach a new machine (or replace a NIC), it doesn't get any configuration and doesn't respond the DHCREQUEST. My ISP does that. It's described also in some Linux HOWTO's.
The fix is what ffreeloader describes :
| Quote: | | shut down your router and your Debian computer and then start up your router and then your Debian computer, in that order | , where "router" is, in my case, the cable modem.
That's why i asked about an other machine previously connected to that ADSL.
Meanwhile, I think we've overloaded Zimbo with questions and info, and he's not getting anywhere.
Zimbo, you're not providing a lot of relevant information so we don't have much to work with. Have a look at the questions again, and try to give us some answers
Buying an ADSL Router may solve your problem if it has DHCPserver built in because then that DHCPserver will give you an address. Still, it is probably not necessary, a PC directly connected to the ADSL modem should work, even if it's Linux  |
|
| Back to top |
|
 |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Fri May 12, 2006 9:42 pm Post subject: |
|
|
yeah i got my router... nice new linksys router with 4 port switch.. got it up and running... i learnt at work today that the ISP (the only one on the island!) is a little touchy when you move your modem from pc to pc (ie mac address to mac address) solution is use a router. ill be starting an installation of debian in a few min... |
|
| Back to top |
|
 |
zimbo Beginner

Joined: Feb 06, 2006 Posts: 84 Location: London UK (Cyprus)
|
Posted: Fri May 12, 2006 9:52 pm Post subject: |
|
|
DONE!!! just installed (well its getting all the packages from the net now!). My first real box with debian! no more vmware for now! |
|
| Back to top |
|
 |
tripwire45 Wizard

Joined: Jul 7, 2003 Posts: 1270 Location: Boise, ID, USA
|
Posted: Fri May 12, 2006 10:24 pm Post subject: |
|
|
Congratulations, mate. Party time.  _________________
 |
|
| Back to top |
|
 |
cindycheng Newbie

Joined: Dec 22, 2010 Posts: 7
|
|
| Back to top |
|
 |
|