Thread: bsdforums.org

  1. #1
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589

    bsdforums.org

    Does anyone know how we are to register for this site?
    I have been unsuccessful with every attempt.
    I'm changing one of my linux boxes over to bsd, and have been having some serious problems with the transition.
    I figure that would be the place to ask these questions.
    I have attempted to register twice, but no confirmation email was issued to me. To top it off, I have attempted to contact the webmaster twice, with no response.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    try a different forum, like this one, I know some people here use bsd...I did for a while, what's the trouble?
    PHP and XML
    Let's talk about SAX

  3. #3
    I used to use BSD as well. Don't underestimate the knowledge of the members of this board.

  4. #4
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    freebsd 5.2.1

    I'm trying to make a transition from linux to unix, but one of the major hang ups is my networked internet connection. I'm attempting to rebuid a custom kernel stripped down to net access and apache ssl for webhosting.

    (1) Cable Internet (Adelphia)
    (2) Modem -> Cat5
    (3) Cat5 -> D-Link Router
    (4) D-Link Router -> Cat5
    (5) Cat5 -> D-Link 10/100 Ethernet/USB Adapter

    On boot it says it sees the USB port, and the D-Link 10/100 Ethernet/USB Adapter.

    Slackware Linux was capable of recognizing the connection using dhcp, but not Freebsd.

    During install I chose to allow DHCP.

    When I try to ssh in or out of the box, I receive an error that states a path to the connection can not be found.

    Is there anything else that I should do?

    I Edited my /etc/rc.conf to include the following:

    ifconfig_dc0="DHCP"

    I assumed I should use dc0 per the freebsd handbook says this is the default name for connect 1.

    I also inputed a host name of Darkstar.local.bsd per some reading I found on the net.

    I'm not sure what I should put in the IPv4 Gateway . Would this be the ip of my router?
    I added my router ip hoping this would allow it to recognize my pc as a node on the net, but that didn't work.
    Last edited by xviddivxoggmp3; 07-24-2004 at 01:28 AM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    well your default gateway should be the ip of the port you're connecting to on the router. You man also want to try unplugging the power from everything (ie: modem and router) to do a hard reset of them. I've noticed that sometimes when network configs are redone like that sometimes switches/hubs/routers have trouble working correctly, and unplugging and plugging them back in resets them correctly. I've even had to do it on cisco aeronets. So try that first and let us know how it goes.
    PHP and XML
    Let's talk about SAX

  6. #6
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    Below is a quote from the freebsd handbook and my questions in red. What I want to do is, eventually rebuild the entire kernal to include only the options needed to support a web host server using ssl. (apache-ssl and freebsd) I also want to be able to ssh and sftp my updates from a networked pc (redhat) node.

    I just wanted to give some background to what direction I'm trying to go.

    Host Here I assume should be the Name of my box (e.g. DarkStar) do I need it in the format of DarkStar.local.bsd?
    The fully-qualified hostname, such as k6-2.example.com in this case.

    Domain Would this be like the ms workgroup? Or does it need to be a specific domain name.
    The name of the domain that your machine is in, such as example.com for this case.

    IPv4 Gateway From what you posted, I believe this to be the router port that I assigned to it. ie. 192.168.0.101
    IP address of host forwarding packets to non-local destinations. You must fill this in if the machine is a node on the network. Leave this field blank if the machine is the gateway to the Internet for the network. The IPv4 Gateway is also known as the default gateway or default route.

    Name server I'm not sure what goes here. Would this be if the isp assigned me a static ip?

    IP address of your local DNS server. There is no local DNS server on this private local area network so the IP address of the provider's DNS server (208.163.10.2) was used.

    IPv4 address Is this a made up ip address that I make up?
    The IP address to be used for this interface was 192.168.0.1

    Netmask I have a netmask of 255.255.255.0 similar to the example, so I'm assuming that I would put that in hear if it didn't automate.
    The address block being used for this local area network is a Class C block (192.168.0.0 - 192.168.255.255). The default netmask is for a Class C network (255.255.255.0).
    Ok here is my update.
    This morning I set my lan domain name on my router to local. Then I set my domain name on the bsd box to local. I set the host name to DarkStar.local, the IPv4 Gateway to 192.168.0.3, and the name server to 192.168.0.1 (I'm not sure if that was correct, but the config would not let me exit until inputed something in name server), and my netmask is like usual 255.255.255.0, I rebooted the modem, router and the bsd box. And it didn't work.

    How can you acquire the mac address of device that was detected during boot? i forgot to write the box's mac down prior to changing over to freebsd, and I figure I might be able to force a router connect statically.
    Last edited by xviddivxoggmp3; 07-25-2004 at 11:59 AM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  7. #7
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    Well first of all the hostname could be just darkstar I believe, if not, what you have there will work also.

    Yes you're correct, you can call it MSHOME or whatever you windows box has as the workgroup, or you could call it BSD, it really doesn't matter as long as any computers trying to talk on to eachother on the network are in the same domain/workgroup.

    You got the gateway correct.

    Well name server is usually a dns server...but since it asks you for the isp dns then im not sure, personally I would set it to either the bsd box, or your isp dns server.

    You can leave the isp dns how it is.

    The ip address should be unique, if you're using 192.168.0.1 on that machine only, and other machines are not running dhcp, then you're ok...however, if thy are running dhcp you need to make them static to avoid ip conflicts.

    Class C subnet is 255.255.255.0 which you used.


    Now, to answer the mac address question, first make sure you compiled freebsd with netgraph enabled. If not, redo it and enable netgraph.
    Next, from the command line type ngctl
    this will give you a list of commands, i believe that the list command should give you mac addresses for everything you're physically connected to (will probably also give you the mac of your nic so try not to confuse them). And if all else fails, fire up the windows box, type the ip address of the router into a web browser and from there you can use the config program to find out the mac address it's using.

    Good luck, if you can't get that to work, then all I can say is go back to version 4.9
    PHP and XML
    Let's talk about SAX

  8. #8
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    ok, I still haven't made any forward motion on this yet. I'm thinking about rolling this back to a prior version of bsd. Before I do this, I want to try one more thing. I decided to get a nic card.
    I went to an oem part store and found a compaq fast ethernet 10/100 nic part#nc3120
    I installed it successfully, but unix does not autodetect the card. I researched that there is a driver requirement for this. The driver is available through compaq for the following operating systems. Does Freebsd use drivers that are compatable for any of the following os?
    possibly novell or sco unix? I'm assuming that it should be compatable with SCO OpenServer 5.x. Would this be an accurate assumption?

    Microsoft Windows NT 4.0Microsoft Windows NT 3.51Novell NetWare 5.x ServerNovell NetWare 4.x ServerNovell NetWare 3.x Server SCO UnixWare 7.xSCO OpenServer 5.xSCO UnixWare 2.1Microsoft Windows 2000Microsoft Windows 98Microsoft Windows 95NetWare DOS ClientMS DOS ClientOS/2 Warp Server
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  9. #9
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    I'm not sure if any of those unix drivers will work, depends if it has specific calls in it or if it's just a simple unix compatible device driver. You can try it, it won't hurt.

    But...why did you get a NIC card that only compaq makes drivers for??
    PHP and XML
    Let's talk about SAX

  10. #10
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    i went to oem parts, and the only nic i could find was a compaq nic.
    i wanted a generic 10/100 nic, but i couldn't find anything at all.
    can i force a generic nic driver to recognize a compaq nic? another question is, does the freebsd 4.X have an autodetect of nics programed into it. i think i may roll back the os just to get it to work.
    the freebsd is working perfectly, but this network issues is killing my last brain cell.
    Last edited by xviddivxoggmp3; 08-01-2004 at 04:42 PM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  11. #11
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    this should help considerably:
    http://www.freebsd.org/releases/5.2.....html#ETHERNET

    lists every ethernet card supported under freebsd 5.2.1
    pick one from that list and buy it cheap online somewhere, don't waste too much time and effort on that card.
    PHP and XML
    Let's talk about SAX

  12. #12
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    I second Waldo in the suggestion of getting a new card. With the current price rates on NICs(I found one for a dollar around where I live), there is no reason to deal with a card that barely works.
    there used to be something here, but not anymore

Popular pages Recent additions subscribe to a feed