Re: Network config on FreeBSD 5.1 - Help!

From: zera holladay (zera_holladay_at_yahoo.com)
Date: 06/04/04

  • Next message: Ali Niknam: "FreeBSD 5.2.1: Mutex/Spinlock starvation?"
    Date: Thu, 3 Jun 2004 15:16:15 -0700 (PDT)
    To: aussie gal <freebsder51@yahoo.com>, freebsd-hackers@freebsd.org
    
    

    How do your Windows XP computers get their ip
    addresses: are they statically assigned ip addresses
    or do you have a DHCP server?

    If you have not configured your Windows XP computers
    with static ip addresses or you don't know what a
    static ip address is, then your hub is probably taking
    care of DHCP for you. The best way to determine how
    ip addresses are assigned is to check your Windows
    computers since they seem to be working fine. I won't
    explain how to check this on Windows (if you e-mail me
    independent of this mailing list, I will help you
    out).

    rc.conf file is a sequence of instructions and
    variables. rc.conf is executed as FreeBSD boots, so
    try commenting out everything you don't need except
    for ifconfig_vr0="DHCP" and rebooting. If you don't
    know what the problem is, then eliminate variables
    unit you isolate the problem.

    -zh

    --- aussie gal <freebsder51@yahoo.com> wrote:
    > This is the set-up:
    >
    > I have a High-Speed Internet connection. What you
    > would call a DSL modem connection. I have the main
    > modem connection hooked up to a 4-port hub. Two
    > ports are connected to WinXP boxes and the third one
    > is connected to my freebsd box into the ethernet
    > port supplied by the Asus motherboard (it has a
    > build-in RJ port). I have the other two XP boxes up
    > and running but my freebsd box is (as you can see)
    > struggling.
    >
    > Longterm prospects:
    >
    > 1) After I can get freebsd networked, I would like
    > to eventually install some security and then take
    > over the world with a cluster of boxes designed by
    > top secret software. <evil grin>
    >
    > 2) <grin> Just kidding. I want to set up a small
    > network of computers running off of this freebsd
    > server, a mail server, and a half decent web server
    > with Perl/php/etc and maybe some other cook bells
    > and whistles. But yes, I will probably want some
    > security via a firewall at some point as well.
    > Maybe sooner rather than later. But I first need to
    > pick-up the networking fundementals
    >
    > Btw, In the initial Sysinstall > Network
    > configuation dialogs I specified that I did not want
    > Ipv6 and that I wanted dchp.
    >
    > For the "network configuration" screen i filled in
    > the following:
    > Host: host.name.com
    > domain: name.com
    > ipv4 gateway: blank
    > Name server: this is my isp's dns server's ip
    > address
    >
    > and for the "Configuration for Interface vr0" dialog
    > I write:
    > ipv4 address: Blank
    > Netmask: 255.255.255.0 <- I just changed this to
    > 255.255.0.0 as per your suggestion
    > extra options: blank
    >
    > I hope this helps. Any thoughts on how to help me
    > find my IP address?
    >
    > Thanks for your suggestion.
    >
    > Regards,
    > Nav
    > zera holladay <zera_holladay@yahoo.com> wrote:
    > How do you connect (or want to connect) to your
    > network or to the internet? Do you have your own
    > private network and you connect through a gateway or
    > router, or do you have a DSL modem attached directly
    > to your ethernet card? You are not getting an IP
    > address and your netmask is for a very, very large
    > network. Networking is like cooking -- you have to
    > first decide what you want to cook with the
    > ingredients you have, then you have to get a recipe
    > and follow it.
    >
    > -zh
    >
    >
    > --- aussie gal wrote:
    > > Yeah - I have read it.
    > >
    > > when I do the ifconfig i get:
    > > vr0: flags=8843> MULTICAST> mtu 1500
    > > inet6 fe80::20e:a6ff:..[hexidecimal ipv6
    > > address]%vr0 prefixlen 64 scopid 0x1
    > > inet 0.0.0.0 netmask 0xff0000000 broadcast
    > > 255.255.255.255
    > > ether 00:0e:a6:.. [hexidecimal ipv4 address]
    > > media: Ethernet autoselect (10baseT/UTP)
    > > status: active
    > >
    > > The one thing that I noticed was that the example
    > on
    > > the website has all the addresses in
    > > non-hexcedecimal format and my output has them all
    > > in hex ipv6/4.
    > > Do I really need ipv6? If not, how do I get rid of
    > > it or does it matter?
    > >
    > > This poses a problem because I am suppose to
    > include
    > > my IP address as per the example on the website:
    > >
    > > ifconfig_dc0="inet 192.168.1.3 netmask
    > > 255.255.255.0"
    > > ifconfig_dc1="inet 10.0.0.1 netmask 255.255.255.0
    > > media 10baseT/UTP"
    > >
    > > BUT these addresses are not in hexidecimal whereas
    > > my inet #s are.
    > >
    > > Any ideas what is going on here?
    > >
    > > Btw, my rc.conf file includes the following:
    > >
    > > font8x14 ="NO"
    > > font8X16 = "NO"
    > > gateway_enable="YES"
    > > inetd_enable="YES"
    > > linux_enable="YES"
    > > moused_enable="YES"
    > > moused_port="/dev/psm0"
    > > moused_type="auto"
    > > nfs_client_enable="YES"
    > > nfs_server_enable="YES"
    > > rpcbind_enable="YES"
    > > saver="rain"
    > >
    > > scrnmap="NO"
    > > usbd_enable="YES"
    > > sendmail_enable="YES"
    > > #ifconfig_vr0="inet6 hex address netmask
    > > 255.255.255.0"
    > > #ipv6_enable="NO"
    > > hostname= "..."
    > > ppp_enable="YES"
    > > ppp_mode="ddial"
    > > ppp_nat="YES"
    > > ppp_profile="bellnet.ca"
    > > sendmail_enable="YES"
    > > gateway_enable="YES"
    > > rpc_statd_enable="YES"
    > > tcp_extensions="YES"
    > > hostname="..."
    > > ifconfig_vr0="DHCP"
    > >
    > >
    > > Thanks!
    > > fb51
    > >
    > >
    > > zera holladay wrote:
    > > Have you read this yet?
    > >
    > >
    >
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html
    > >
    > > -zh
    > >
    > > --- aussie gal wrote:
    > > > Hi - I'm trying to configure my network card on
    > a
    > > > newly installed freebsd 5.1.
    > > > BUT - I can get the system to come on line. It
    > > > recoginizes the hardware as being UP ...
    > > >
    > > > I've been hitting several TCP/IP how-tos on the
    > > web
    > > > and doing lots of reading and tweaking to no
    > > avail.
    > > >
    > > > Please advise. Does anyone have experience with
    > > > 5.1?
    > > >
    > > > Regards,
    > > >
    > > > fb51
    > > >
    > > >
    > > >
    > > > ---------------------------------
    > > > Do you Yahoo!?
    > > > Friends. Fun. Try the all-new Yahoo! Messenger
    > > > _______________________________________________
    > > > freebsd-hackers@freebsd.org mailing list
    > > >
    > >
    >
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    > > > To unsubscribe, send any mail to
    > > "freebsd-hackers-unsubscribe@freebsd.org"
    > >
    > >
    > >
    > >
    > >
    > > __________________________________
    > > Do you Yahoo!?
    > > Friends. Fun. Try the all-new Yahoo! Messenger.
    > > http://messenger.yahoo.com/
    > >
    > >
    > > ---------------------------------
    > > Do you Yahoo!?
    > > Friends. Fun. Try the all-new Yahoo! Messenger
    > > _______________________________________________
    > > freebsd-hackers@freebsd.org mailing list
    > >
    >
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    > > To unsubscribe, send any mail to
    > "freebsd-hackers-unsubscribe@freebsd.org"
    >
    === message truncated ===

            
                    
    __________________________________
    Do you Yahoo!?
    Friends. Fun. Try the all-new Yahoo! Messenger.
    http://messenger.yahoo.com/
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Ali Niknam: "FreeBSD 5.2.1: Mutex/Spinlock starvation?"

    Relevant Pages

    • RE: Printing from Win9x clients stops
      ... Open Server Management. ... then right-click the name of the computer running Windows Small Business ... >From the client computer: ... The Select Network Component Type ...
      (microsoft.public.windows.server.sbs)
    • RE: Printing from Win9x clients stops
      ... The printers with 9x drivers on the server appeared automatically in the ... > then right-click the name of the computer running Windows Small Business ... > From the client computer: ... The Select Network Component Type ...
      (microsoft.public.windows.server.sbs)
    • Re: upgrading frm XP Home to Pro
      ... Why do you think you need Windows XP Professional? ... won't and we need to upgrade all the computers to Pro. ... You bought a server to 'network your computers' and so you can ... software) would give you the same abilities as 'Remote Desktop' ...
      (microsoft.public.windowsxp.general)
    • Re: Cannot browse or open shared printers or server on sbs 2003 from client pc
      ... i think the network problem has taken a different turn. ... meanwhile if i access the mapped drives to the server which we setup in the ... my thought now is what is the update mechanism for the printers from the ... I understand the issue to be: client computers can ...
      (microsoft.public.windows.server.sbs)
    • Re: List of servers in this workgroup is currently not available.
      ... Computer description appears before the computer name in the My Network ... Microsoft CSS Online Newsgroup Support ... <recently installed a D-Link print server with a reserved IP. ... <As soon as I uninstalled the print server and rebooted the computers, ...
      (microsoft.public.windows.server.sbs)