View previous topic :: View next topic |
Author |
Message |
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Wed Sep 27, 2006 2:08 pm Post subject: [SOLVED]Gentoo/FreeBSD internet :( |
|
|
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Wed Sep 27, 2006 4:21 pm Post subject: |
|
|
Can anyone post /etc/conf.d/net file |
|
Back to top |
|
|
darkn0th n00b
Joined: 14 Jul 2004 Posts: 42 Location: Lausanne, Switzerland
|
Posted: Wed Sep 27, 2006 5:19 pm Post subject: |
|
|
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.
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Sep 28, 2006 6:03 am Post subject: |
|
|
I'll try sysinstall.
DHCP isn't suported by my provider |
|
Back to top |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Sep 28, 2006 6:33 am Post subject: |
|
|
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 |
|
|
Vla Tux's lil' helper
Joined: 09 Sep 2005 Posts: 135 Location: Somewhere in the middle
|
Posted: Thu Oct 12, 2006 6:04 pm Post subject: |
|
|
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Oct 12, 2006 11:50 pm Post subject: |
|
|
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:, 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 |
|
|
Vla Tux's lil' helper
Joined: 09 Sep 2005 Posts: 135 Location: Somewhere in the middle
|
Posted: Fri Oct 13, 2006 8:20 am Post subject: |
|
|
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Fri Oct 13, 2006 3:03 pm Post subject: |
|
|
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Fri Oct 13, 2006 3:07 pm Post subject: |
|
|
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 |
|
|
Vla Tux's lil' helper
Joined: 09 Sep 2005 Posts: 135 Location: Somewhere in the middle
|
Posted: Fri Oct 13, 2006 7:43 pm Post subject: |
|
|
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 |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Fri Oct 13, 2006 7:55 pm Post subject: |
|
|
Good luck. Please post me if you're successfull. |
|
Back to top |
|
|
Vla Tux's lil' helper
Joined: 09 Sep 2005 Posts: 135 Location: Somewhere in the middle
|
Posted: Fri Oct 13, 2006 8:12 pm Post subject: |
|
|
You can count on me |
|
Back to top |
|
|
|