[haiku-development] Re: RTL8101/8102 FreeBSD Driver
- From: "Graham MacDonald" <macdonag@xxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 15 Sep 2008 13:51:21 +0100
2008/9/14 Michael Lotz <mmlr@xxxxxxxx>
> I take it you set the connection up manually right now? Using ifconfig
> directly? The thing is, that (at least from my experience) Haiku is a
> bit fragile when it comes to manual configuration right now.
>
> The "no route to host" probably means that there is no route configured
> on which to reach your network addresses and no default route either.
> You can check that using the "route" command, where it probably doesn't
> list anything matching your network subnet. You could try adding a
> route manually (again using the "route" command) that "connects" the
> interface with the target network. Using "route --help" you should get
> an example of how it should work, something like "route add /dev/net/<
> drivername>/<devicenumber> default gw <gateway/router ip>" should work,
> as then all traffic should be routed through that gateway (you should
> get a 0.0.0.0 mapping when running "route" again).
>
> If that doesn't work, the safest bet is to just use automatic
> configuration. Others would know where exactly the network config is
> stored, so that you can just remove it to start over. You could just
> try a clean image with your driver added to check if automatic config
> works.
>
> If it also doesn't work with that, it's of course still possible that
> the driver doesn't really work at all. You could then add some
> dprintf's to the driver code and check that the output ends up in your
> /var/log/syslog. But I would really first try with the above.
>
Thanks Michael.
I'll be looking into this a bit more this evening. To set up the
connection, I've been relying on the defaults in the Network Prefs app, as
this worked when I had haiku running in vmware fusion. I've been using
ifconfig to get information back rather than to set anything up.
Cheers
Graham
- References:
- [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- From: Graham MacDonald
- [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- From: Michael Lotz
Other related posts:
- » [haiku-development] RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- » [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- From: Graham MacDonald
- [haiku-development] Re: RTL8101/8102 FreeBSD Driver
- From: Michael Lotz