|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
>> 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? |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
>> 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? |
|
#5
|
|||
|
|||
|
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.
|
|
#6
|
|||
|
|||
|
>> 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. |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
Do a traceroute (use IP, not local hostname) on both ends and see.
|
|
#9
|
|||
|
|||
|
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 ???? |
|
#10
|
|||
|
|||
|
Don't use DHCP (as I said previously) then it will be fixed automatically.
|
|
#11
|
|||
|
|||
|
OK. Thanks for your help.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > freeBSD and DHCP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|