[openbeos] Re: Network problems

  • From: Christian Klassen <usenet@xxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 24 Feb 2007 18:33:41 +0100

I just joined the mailing list (normally reading it with a newsreader through gmane.org), because I read about Peter Holt Juliussen's problems getting the bcm570x network chip to work - and that is just what I succeeded at yesterday evening with a motherboard integrated bcm570x network chip (computer is one of them extra silent Shuttle barebones with Pentium-M). Browsed the web for a while with NetPositive (yay) since the Firefoxes built for net_server or BONE quit at startup with an error message.


So I think I'm just going to document what I did (not really knowing what I was doing, just poking around :-) )

First thing, I'm building Haiku on BeOS R5, installing it on a real partition and I didn't just copy the pre-compiled version available at BeBits, but convinced the build system to install it for me. What I did for that, was

1.) to add bcm570x to the list of network chips in the file /haiku/build/HaikuImage and 2.) in the file /haiku/src/add-ons/kernel/drivers/network/Jamfile change "SubIncludeGPL" in the bcm570x-line to "SubInclude".

Getting it to work under Haiku. First of all I have a /etc/resolv.conf file with the contents "nameserver=192.168.0.1" (my DSL modem/firewall/router that takes that role) It then takes the following commands in the terminal (I theorized that all this is because of DHCP not working correctly) to make it work:

1.) route delete /dev/net/bcm570x/0 default
2.) route add /dev/net/bcm570x/0 default gw 192.168.0.1
3.) ifconfig /dev/net/bcm570x/0 192.168.0.10 up

Replace the 192.168.0.10 with whatever IP address you want to assign to the card.

Hope this helps.

Christian

Other related posts: