BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old November 3rd, 2001, 05:52 AM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question freeBSD and DHCP

Hey.
I have just installed freeBSD, but then i try to get an IP from my DHCP (build in function in my SpeedStream 2610 Router) it won't give me an IP. The NIC that i use is an onboard, build in the chipset from SIS730.

Kindly regards
Martin Soendergaard

Reply With Quote
  #2  
Old November 3rd, 2001, 06:31 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> i try to get an IP from my DHCP

What did you do exactly?

>> The NIC that i use is an onboard

I don't really care what NIC you use, but is it detected on boot?

>> build in function in my SpeedStream 2610 Router

Don't you have any static IP at all? As a server OS, why you configure FreeBSD with inconsistent IP using DHCP?

Reply With Quote
  #3  
Old November 3rd, 2001, 10:36 AM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I ran /stand/sysinstall and tried to setup DHCP that way.

I detects the NIC on boot

It's is the first time I am using freeBSD, so it is mostly a hobby project. I will trie to get apache, mysql, php, proftpd and maybe a CS server up and running. The server will mostly be used at home or in small LAN parties

Reply With Quote
  #4  
Old November 3rd, 2001, 01:17 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I ran /stand/sysinstall and tried to setup DHCP that way

Forget about GUI tool. Say your NIC is vr0, just append ifconfig_vr0="DHCP" to /etc/rc.conf (not /etc/defaults/rc.conf).

Check FreeBSD handbook for dhclient's configuraton.

>> I will trie to get apache, mysql, php, proftpd and maybe a CS server up and running

Just so you know, DHCP is for big company that sysadmins can't administer all workstation to configure IP individually. For home-use, even with 20 boxes, you should configure non-routable IPs manually. When your FreeBSD box is behind a router, DHCP is something you MUST not even try. I'm sure you will need to forward particular ports to your FreeBSD box. When the IP is dynamically assigned, how is it going to stay consistent?

Reply With Quote
  #5  
Old November 3rd, 2001, 01:27 PM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your help, but there is still something that i don't understand. I tried to plugin a RealTek card, and used ifconfig_rl0="DHCP" in /etc/rc.conf. Whit this card i obtained a IP. but then I use the onboard card it will not. Also then i transfer files between my laptop and the BSD box i can only recive with 15-30 KB / S ! The network that I use is 3com 100Mbit, and i should at least reach speeds about 4-5 MB / S. Have any idea what that can bee.

Reply With Quote
  #6  
Old November 3rd, 2001, 01:36 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> but then I use the onboard card it will not

I already asked you this previously. Is the onboard card being detected? If so, have you configured it in /etc/rc.conf?

>> i can only recive with 15-30 KB / S

Thru router or what? If they are connected directly, you must use crossover cable, not straight.

Reply With Quote
  #7  
Old November 3rd, 2001, 01:53 PM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes, the onboard card is detected and i have configured it in the /etc/rc.conf

the two computers are connected trough a hub, and the only speed that the hub supports is 100Mbit, so all my trafic so far is local.

Reply With Quote
  #8  
Old November 3rd, 2001, 02:06 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do a traceroute (use IP, not local hostname) on both ends and see.

Reply With Quote
  #9  
Old November 4th, 2001, 02:52 AM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have found my problem now. It's the hub that i use thats not working. Then i connect the router directly to the onboard NIC i can get a IP and every think is working, but then i try through the hub, nothing will work I have a another question for you. How do I get telnetd up and running, Then i try running it I get the error: getpeername: Socket operation on non-socket ????

Reply With Quote
  #10  
Old November 5th, 2001, 12:06 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Don't use DHCP (as I said previously) then it will be fixed automatically.

Reply With Quote
  #11  
Old November 5th, 2001, 09:14 AM
UranHjort UranHjort is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Denmark, Europe
Posts: 15 UranHjort User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

OK. Thanks for your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > freeBSD and DHCP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway