Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Gentoo/FreeBSD internet :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Wed Sep 27, 2006 2:08 pm    Post subject: [SOLVED]Gentoo/FreeBSD internet :( Reply with quote

Can't set up internet on my x86.

There's problem related to /etc/conf.d/net and /etc/init.d/net.lo0.

my /etc/conf.d/net file is:
Code:

config_eth0=("IP netmask NETMASK")
routes_eth0=("default gw GATEWAY")

this works fine o linux, but not on FreeBSD

To set up net usinf ifconfig

Code:

ifconfig rl0 inet IP netmask NETMASK
route add default GATEWAY


This works

I can't understand what should i write in my net file

I tried to write lo0, rl0 instead of eth0, but it just isn't working.

only gateway is added.

can you help


Last edited by a16b03 on Thu Sep 28, 2006 6:33 am; edited 1 time in total
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Wed Sep 27, 2006 4:21 pm    Post subject: Reply with quote

Can anyone post /etc/conf.d/net file
Back to top
View user's profile Send private message
darkn0th
n00b
n00b


Joined: 14 Jul 2004
Posts: 42
Location: Lausanne, Switzerland

PostPosted: Wed Sep 27, 2006 5:19 pm    Post subject: Reply with quote

That looks more like a FreeBSD question than anything to do with gentoo's portage overlay for freebsd. If you'd read the FreeBSD handbook you wouldn't be stuck like this...

Anyway, there are a couple of ways to set up networking:

1.

Code:

 /stand/sysinstall

this is the FreeBSD ncurses based configuration tool. You can set up just about everything from here. Go to Configure > Networking > Interfaces and you can setup your outbound connection really simply.

2. Edit /etc/rc.conf and add this :
Code:
 ifconfig_rl0="DHCP"


That should get you all set.
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Sep 28, 2006 6:03 am    Post subject: Reply with quote

I'll try sysinstall.

DHCP isn't suported by my provider
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Sep 28, 2006 6:33 am    Post subject: Reply with quote

Could you imagen this:

I had to change file /etc/init.d/net.lo0 name to /etc/init.d/net.rl0.

Now net is OK.

P.S.

Sysinstall didn't help
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Thu Oct 12, 2006 6:04 pm    Post subject: Reply with quote

OT:
Isn't Gentoo/FreeBSD not expected to be configured like/similar to Gentoo/Linux? I thought that's the trick.
If I want sysinstall and configuring like FreeBSD I could also use FreeBSD itself.
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Oct 12, 2006 11:50 pm    Post subject: Reply with quote

Don't know I tried to setup Gentoo/FreeBSD and had 101+ problems

by default there was /etc/init.d/net.lo.

When I used real FreeBSD i had rl0 , so in my /etc/conf.d/net i tried:
    eht0, rl0, lo
, but it didn't help.

Then after reading /etc/init.d/net.lo script (i dont know python language yet) i had this crazy idea of renaming /etc/init.d/net.lo to /etc/init.d/net.rl0 - it worked


Somehow it worked

But I still had too many problems ralated to emerge ACPI ...........

So I Returned to Gnetoo Linux
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Fri Oct 13, 2006 8:20 am    Post subject: Reply with quote

I once had Gentoo/FreeBSD set up working. The guys at #gentoo-bsd helped me alot with that.

Your problem with the net-interface is to be expected. It's the same as on Gentoo/Linux. You need to have a symlink from net.lo -> net.eth0/.rl0 whatever your device is called. On Linux it's regulary eth0 for the first net-iface. net.eth0 is created per default on gentoo so for most people setting up /etc/conf.d/net
for eth0 just works. On FreeBSD the net-iface of my girlfriends notebook is sis0, not eth0 as on linux.So you have to tell the config to use it.
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Oct 13, 2006 3:03 pm    Post subject: Reply with quote

Whel Net Was The Smallest Problem On Gentoo/FreeBSD.

I Use Local Server ftp.linux.lv - it's unofitial gentoo and other linux mirror...

Usualy I have speed ~2 to 7 MBit/Sec, but with gentoo/FreeBSD I couldn't even connect to it.

I COuldn't emerge Xorg. System Hanged a lot of times when compilling. And After 2 Weeks of no results of making GUI I quit.

Maybee i'll try it next year.
I Got really interested with FreeBSD.
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Oct 13, 2006 3:07 pm    Post subject: Reply with quote

Oh and the lack of CD's just p***d me off.

I Used FreeBSD 6.1 CD's to make slices and the rest with FreeSBIE based on FreeBSD 7.

I Was horible. I think one of great thing in Gentoo/FreeBSD would be a install cd (like gentoo install cd), No GUI, just progs needet to install system.
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Fri Oct 13, 2006 7:43 pm    Post subject: Reply with quote

I followed the guide on gentoo-wiki.com. I found it very usefull. I'm going to set up a new Gentoo/FreeBSd system this night or tomorrow.
I will see if I run into any complications like you ;) Maybe you want to give it another try. Just pop in #gentoo-bsd on freenode for help or this forums. I think the more testers the more bugs can be solved.
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Oct 13, 2006 7:55 pm    Post subject: Reply with quote

Good luck. Please post me if you're successfull.
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Fri Oct 13, 2006 8:12 pm    Post subject: Reply with quote

You can count on me :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum