The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 FreeBSD newbie here..
Author: Mike 
Date:   02-03-01 11:10

Hello to all,
i just finished installing FreeBSD 4.0 on my PII 350 (over clocked to 412) :o)
and my question is what do these msgs mean? and how can i redirect them to another ttyvx instead of the one im working on?
here is hte error i get which by the way is related to my interfaces (dc0 and dc1)
Netgears. dc0 = 192.168.0.209 and dc1 = x.210

bash-2.03# Mar 1 23:03:20 dc0 /kernel: arp: 192.168.0.200 is on dc0 but got reply from 00:a0:cc:64:cb:09 on dc1
Mar 1 23:03:20 dc0 /kernel: arp: 192.168.0.200 is on dc0 but got reply from 00:a0:cc:64:cb:09 on dc1
bash-2.03# Mar 1 23:03:25 dc0 last message repeated 3 times
Mar 1 23:03:25 dc0 last message repeated 3 times

what all this?
and how can i change my prompt to my hostname and current dir?
so far the box is running like a champ no bad for a newbie.....
thankx in advance...

Mike

Reply To This Message
 
 Re: FreeBSD newbie here..
Author: Daniel Schrock 
Date:   02-03-01 19:49

it sounds like you have the 2 cards plugged into the same hub...
plug them into different hubs/switches or
<dreaming>
buy a cisco 2924 or similar and set up a vlan
</dreaming>

Reply To This Message
 
 Re: FreeBSD newbie here..
Author: Dan Langille 
Date:   02-03-01 22:25

to change your prompt, it depends on your shell. Go to the search page on this website and type "bash prompt" to see a few examples for variour shells.

to change directory: cd <new direcory>

Reply To This Message
 
 Re: Thank you guys
Author: Mike 
Date:   04-03-01 01:27

thankx for your help guys i appreciate it..

as far as the two NIC this should not be a problme at all, cause i used to sun linux as my GW router.. in other words 1 NIC on the outside word and the other NIC on my Priv. LAN 192.168.1.x , Besides NIC 1 (world) is on the upline port....

its wokring properly now but i cant get rid of the msg to the console...
thankx

Reply To This Message
 
 Re: Thank you guys
Author: el_kab0ng 
Date:   05-03-01 17:14

To change tty's on a local console, try hitting the print screen button (assuming you have a normal keyboard). You should have 7 "virtual terminal windows" if you hit the printscreen button to scroll through them all.

Just a suggestion if you want to avoid console messages. (Otherwise, send all console via syslog to a log file and review daily)

Reply To This Message
 
 Re: Thank you guys
Author: Dan Langille 
Date:   05-03-01 22:21

Don't login as root. Login as yourself, then su to root.

Reply To This Message
 
 Re: FreeBSD newbie here..
Author: g2k 
Date:   06-03-01 21:07

Don't know if this really helps, but be sure to have to appropriate entries in /etc/hosts.
i.e.:
127.0.0.1 localhost
192.186.0.209 localhost your_host_name_here any_alias_you_want
x.x.x.210 localhost same_hostname_as_above any_alias_as_above

that is because the NICs are all in one machine, thus have to be associated with the same machine/hostname.

sure helps with sendmail and gethostbyaddr(), don't know with arp though.

But I think it is important to work this out, rather than just to ignore the warning messages.

I remember that I had the same problems, but can't recall how I solved those. maybe upgrading to the latest stable was the solution, try doing so, update your system to 4.2-Stable.

regards
Andreas Ntaflos

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org