9ea9 [Solved] Boot from a FreeBSD 9 CD, network configuration - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old April 26th, 2012, 16:56
antolap antolap is offline
Junior Member
 
Join Date: Mar 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Boot from a FreeBSD 9 CD, network configuration

If I boot from CD-ROM (using a freebsd9 FreeBSD 9 CD), I can go to shell. I can configure the network interface, I can set the IP address, netmask, gateway, I can ping the local machine, internet machine (by IP address), but I don't understand how to set the DNS nameserver. I can't modify /etc/resolv.conff because it's read-only.

Is there a way to set DNS without having to mount a local partition?

Thanks.

Last edited by DutchDaemon; April 26th, 2012 at 18:26. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #2  
Old April 28th, 2012, 15:04
da1 da1 is offline
Member
 
Join Date: Sep 2009
Location: Berlin,DE
Posts: 659
Thanks: 23
Thanked 48 Times in 44 Posts
Default

If you do a ls -la /etc/resolv.conf you will notice that /etc/resolv.conf is actually a link to /tmp/bsdinstall_etc/resolv.conf. So, to get your DNS up and running you need to populate the /tmp/bsdinstall_etc/resolv.conf file.

PS: the /tmp/bsdinstall_etc dir doesn't exist by default. You should create it
Reply With Quote
The Following User Says Thank You to da1 For This Useful Post:
wblock@ (April 28th, 2012)
  #3  
Old April 29th, 2012, 07:37
antolap antolap is offline
Junior Member
 
Join Date: Mar 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, it works!
Many thanks.

Last edited by DutchDaemon; April 30th, 2012 at 01:55. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub2 Configuration (Dual boot linux + FreeBSD is it possible?) marcinnn Installing & Upgrading 4 October 10th, 2011 01:35
Network Configuration of FreeBSD Software Routers MikeyWines Networking 5 September 10th, 2010 15:32
Can't boot FreeBSD 8.1 on T2000 from network ro Other Architectures 6 September 10th, 2010 06:04
[Solved] Network 'warnings' in FreeBSD 8.0 AMD64 upon boot. Graaf_van_Vlaanderen Networking 4 December 24th, 2009 21:25
Network Configuration rg25 Networking 1 July 15th, 2009 19:24


All times are GMT +1. The time now is 21:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0