Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
pctech101.com

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Recommend Us
Surveys

Features
HOWTOs
News
News Archive
NukeSentinel
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 116 guest(s) and 2 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  
Linux Knowledge Base and Tutorial: Forums



Linux Tutorial :: View topic - New Debian Box
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Debian Box

 
Post new topic   Reply to topic    Linux Tutorial Forum Index -> General Linux
View previous topic :: View next topic  
Author Message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Thu May 11, 2006 4:54 pm    Post subject: New Debian Box Reply with quote

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. Sad 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
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 579

PostPosted: Thu May 11, 2006 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Thu May 11, 2006 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Thu May 11, 2006 9:22 pm    Post subject: Reply with quote

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. Embarassed Embarassed sorry about the confusion.
Back to top
View user's profile Send private message
koen
Beginner


Joined: Sep 12, 2005
Posts: 224
Location: Belgium

PostPosted: Thu May 11, 2006 9:40 pm    Post subject: Reply with quote

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
Code:
ifconfig eth0
after it doesn't detect dhcp ? what if you type
Code:
ifconfig eth1


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
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 579

PostPosted: Fri May 12, 2006 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Fri May 12, 2006 6:44 am    Post subject: Reply with quote

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
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 579

PostPosted: Fri May 12, 2006 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
tripwire45
Wizard


Joined: Jul 7, 2003
Posts: 1270
Location: Boise, ID, USA

PostPosted: Fri May 12, 2006 1:22 pm    Post subject: Reply with quote

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:
Code:
dhclient

command. This causes the machine to send out a dhcp request and I get an IP in no time.
_________________
Back to top
View user's profile Send private message Visit poster's website
koen
Beginner


Joined: Sep 12, 2005
Posts: 224
Location: Belgium

PostPosted: Fri May 12, 2006 2:20 pm    Post subject: Reply with quote

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 Smile

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 Smile
Back to top
View user's profile Send private message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Fri May 12, 2006 9:42 pm    Post subject: Reply with quote

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...Smile
Back to top
View user's profile Send private message
zimbo
Beginner


Joined: Feb 06, 2006
Posts: 84
Location: London UK (Cyprus)

PostPosted: Fri May 12, 2006 9:52 pm    Post subject: Reply with quote

DONE!!! Laughing just installed (well its getting all the packages from the net now!). My first real box with debian! Very Happy no more vmware for now!
Back to top
View user's profile Send private message
tripwire45
Wizard


Joined: Jul 7, 2003
Posts: 1270
Location: Boise, ID, USA

PostPosted: Fri May 12, 2006 10:24 pm    Post subject: Reply with quote

Congratulations, mate. Party time. Very Happy
_________________
Back to top
View user's profile Send private message Visit poster's website
cindycheng
Newbie


Joined: Dec 22, 2010
Posts: 7

PostPosted: Wed Dec 22, 2010 10:33 am    Post subject: Reply with quote

SPAM REMOVED
_________________
hdcindy201022@yahoo.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Linux Tutorial Forum Index -> General Linux All times are GMT
Page 1 of 1

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2007 phpBB Group
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content © 1994-2010 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressedly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds