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 06-17-2005, 12:26 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Device names


Im trying to setup a firewall (IPF) on Freebsd 5.4 and all is going well i just want to check and make sure im using the correct name for my Etho. Is there a way i could check devices and there names?

thanks
 
Old 06-17-2005, 12:44 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
/sbin/ifconfig -a
will show the MAC address for eth0, if that's what you need.

Take a look at
lspci -v
also.

Last edited by itsjustme; 06-17-2005 at 12:47 PM.
 
Old 06-17-2005, 09:03 PM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
What i got for etho was, so i think, bge0..

what im trying to set up is an inclusive ipf firewall. Im using the example file for ipf.rules as stated in the doc on freebsd.org. However, to test my firewall i block out ssh saved it, then ran ipf -Fa -f /etc/ipf.rules <enter> then tried to re-log through ssh and i was able to. Why is that? any clues as to what i am doing wrong?

thanks
 
  


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
Network Device Names predator.hawk Linux - Hardware 3 01-03-2005 03:07 PM
Logical device names and instant names Gins Linux - General 8 11-30-2004 09:17 PM
newbee device names help oldstinkyfish Linux - Hardware 3 11-24-2003 03:25 PM
Mounted Device names Rodzilla Linux - Newbie 7 09-25-2003 11:39 AM
How to determine device names yian Linux - General 2 10-21-2002 08:56 PM


All times are GMT -5. The time now is 04:11 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