LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-12-2005, 01:47 PM   #1
LivinLarge
LQ Newbie
 
Registered: Mar 2005
Distribution: Arch, Mepis
Posts: 24

Rep: Reputation: 15
5.4 preinstall question


First off, I have made several posts on linuxquestions.org but havent yet said my experience level, so briefly, here goes. I have always used windows. I heard of linux somewhere along the line but never gave it much thought until I built a computer of my own. So I started reading and came across BSD and am now giving this a try. I am basically an average user. I know my way around windows and can do most basic things. Nothing fancy like programming or administrative work. I tried a few linux distros but mostly just the newbie friendly distros like Fedora and Ubuntu. Thats basically it, just thought I would give a little backround incase you guys thought some of the questions I might ask coming up are pretty basic or stupid.

So anyway, I was reading this preinstall guide and it said I should know the following before installing:

1. IP address
2. IP address of the default gateway
3. Hostname
4. DNS server IP addresses
5. Subnet Mask

The linux distros have never asked about this, I guess they just do this stuff on there own because on most of them I have been able to get on the internet without providing this information. I have a cable modem that is connected to a D-Link wireless router with a cable attaching a windows box and what hopefully will be the FreeBSD box to the router. I havent really began to try to figure out how to get the wireless stuff to work yet in anything but windows.

How do I figure out what all of these are before installing?

Thanks,
LivinLarge

Last edited by LivinLarge; 05-12-2005 at 01:50 PM.
 
Old 05-12-2005, 02:02 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you are using DHCP don't worry, just select this option during install and FreeBSD will detect your internet connection settings. Read through the manual and installaton should be fairly straightforward.
 
Old 05-13-2005, 08:11 PM   #3
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 824

Rep: Reputation: 30
yup, it asks during the install if you want to use DHCP then you just specify a hostname of your choice and you are off and running.
 
Old 05-16-2005, 10:41 PM   #4
danielanson
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: OpenBSD 3.7
Posts: 76

Rep: Reputation: 15
you can also type "ipconfig -all" on the windows C prompt and it will give you this information.
 
Old 05-26-2005, 12:05 PM   #5
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
If you dont go the dhcp route becuase you need a static ip for some reason, you can put in any ip address you like in the constraints of your router settings, for a dlink I belive its a 192.168.1.whatever stuff like the netmask should be filled in for you, the host can be whatever name you like you just have to change it to that in the motd file in /etc. and then the other 2 fields are just the address of your router which would be the 192.168.1.1 if thats what you had to put in to configure the router at the webpage configuration when you got the router. If not then change that accordingly
 
Old 06-03-2005, 12:48 AM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
/etc/motd doesn't set the system's hostname
 
Old 06-03-2005, 11:36 AM   #7
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
its one of those files in the etc directory then, I am not sitting in front of my bsd box to check, but when you open it it will have lines in there that say localhost.something change that
 
Old 06-03-2005, 03:08 PM   #8
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Sounds like you're thinking of /etc/hosts, but that doesn't set the hostname on FBSD either (though it's equally important to have the hostname mapped to an IP in there).

The system's hostname is set by rc at bootup via hostname="your.hostname.com" in /etc/rc.conf with everything else (or by hostname from the shell).
 
Old 06-04-2005, 08:24 AM   #9
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
ummm might be that file it has the same hostname="your.hostname.com" line in the file
 
Old 06-04-2005, 11:49 AM   #10
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Nope

# grep "hostname=" /etc/*
/etc/rc.conf:hostname="orwell.mydomain.org"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some preinstall questions nosix Linux - Newbie 4 09-10-2005 02:33 PM
Mandrake should preinstall Ndiswrapper joshknape Mandriva 6 08-08-2005 04:39 PM
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Preinstall linux on a powerpc harddrive? six6 Linux - General 1 04-21-2005 03:22 AM
Preinstall Firefox Extensions for Users? CoolAJ86 Linux - Software 0 02-16-2005 07:36 AM


All times are GMT -5. The time now is 06:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration