LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-03-2007, 09:25 AM   #1
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Rep: Reputation: 30
Trying again. First problem: internet access


I've tried various *bsd flavours in the past 18 months or so on 4 different computers but I am always beaten by hardware issues.

Well I'm now having another go and so I've been a bit more successful and I'm concentrating on one problem at a time instead of trying to work out everything at once.

So, problem number 1: I can't get internet access.

I've tried RoFreesbie in live mode and PC-BSD which has installed to hard drive with no problems at all during the install and boots up into kde fine.

When I try to configure internet on both, they list the network card as Ethernet over Firewire (fwe0).
I don't know if it is possible to get direct internet access with firewire or not but my network card is an nVIDIA MCP51 Ethernet card (eth0 on linux).

Can anyone help me with this?
As far as I understand this should be setup as nve0 but I don't know what to do to get bsd to recognise it.
 
Old 03-04-2007, 08:20 AM   #2
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 406

Rep: Reputation: 89
You will have to rebuild kernel to get that working, first add this line here
/usr/src/sys/dev/nve/if_nvereg.h
before:
Code:
 50 #define NFORCE_MCPNET13_DEVICEID 0x0269
 51 
 52 #define NV_RID          0x10
after:
Code:
 50 #define NFORCE_MCPNET13_DEVICEID 0x0269
 51 #define NFORCE_MCPNET51_DEVICEID 0x0269
 52 
 53 #define NV_RID          0x10
then this file
/usr/src/sys/dev/nve/if_nve.c
before:
Code:
 238         {NVIDIA_VENDORID, NFORCE_MCPNET13_DEVICEID,
 239         "NVIDIA nForce MCP13 Networking Adapter"},
 240         {0, 0, NULL}
after:
Code:
 238         {NVIDIA_VENDORID, NFORCE_MCPNET13_DEVICEID,
 239         "NVIDIA nForce MCP13 Networking Adapter"},
 240         {NVIDIA_VENDORID, NFORCE_MCPNET51_DEVICEID,
 241         "NVIDIA nFORCE MCP51 Networking Adapter"},
 242         {0, 0, NULL}
now rebuild kernel and You will have Your nve0 working:
Code:
nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 XXXX::XXX:XXXX:XXXX:XXXX%nve0 prefixlen 64 scopeid 0x2 
        inet XXX.XXX.XXX.XXX netmask 0xffffffff broadcast XXX.XXX.XXX.XXX
        ether 00:00:00:00:00:00
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

Last edited by vermaden; 03-04-2007 at 08:21 AM.
 
Old 03-04-2007, 09:31 AM   #3
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
On PC-BSD (the one that is installed) /usr/src/sys contains 2 folders, sys and kernel and there is no nve anything in either of those.
I did a file and folder search for *nve* and it came back with 0 results.

PC-BSD 1.3.01
 
Old 03-04-2007, 12:20 PM   #4
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 406

Rep: Reputation: 89
Quote:
Originally Posted by shame
On PC-BSD (the one that is installed) /usr/src/sys contains 2 folders, sys and kernel and there is no nve anything in either of those.
I did a file and folder search for *nve* and it came back with 0 results.

PC-BSD 1.3.01
I never used PC-BSD and I do not know if it provides full source tree or so. This works for FreeBSD.
 
Old 03-04-2007, 02:04 PM   #5
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
Would you know if it's possible to get the source tree seperately then install onto pc-bsd?

I've played around a bit and other things are working out of the box, such as my printer which has always given me problems in linux so I reckon it's worth putting a bit of effort into getting things running now.

<EDIT>
I forgot PC-BSD has a second cd so I assume it will be on there, I'll download that.

Last edited by shame; 03-04-2007 at 02:07 PM.
 
Old 03-04-2007, 09:32 PM   #6
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
Nah, the FreeBSD source just has a load of .ko files so I can't do what you suggest.

Beaten again by hardware issues.
One day I will get past the hardware problems and actually get to try *BSD properly.
 
Old 03-06-2007, 01:32 PM   #7
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
What is your output of the command ifconfig?
 
Old 03-06-2007, 05:17 PM   #8
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
Code:
%ifconfig
fwe0: flags=108934<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
          options=8<VLAN_MTU>
          inet6 fe80::11:d8:ff:fec2%fwe0 prefixlen 64 scopeid 0x1
          inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
          ether 02:11:d8:c2:cf:ed
          ch 1 dma 0
pfsync: flags=0<> mtu 2020
pflog: flags=0<> mtu 33208
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384
I have now installed PC-BSD into VMware on sidux64 where I am getting internet access.
It's slow as hell but at least it lets me try things out and see if *BSD is for me.

Last edited by shame; 03-06-2007 at 05:22 PM.
 
Old 03-08-2007, 05:02 AM   #9
alantis13
LQ Newbie
 
Registered: May 2005
Posts: 18

Rep: Reputation: 0
man nve!

add to kernel

compile.
http://www.freebsd.org/doc/en_US.ISO...-building.html
 
Old 03-08-2007, 11:44 PM   #10
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
Man nve suggests I should add miibus and nve to the kernel or add if_nve_load="YES" to loader.conf.

Well, the currently installed kernel config already has both listed and if I add the line to loader.conf it still isn't there after booting.

Turns out on pc-bsd the kernel stuff is installed somewhere else instead of /usr/sys but there is still no sign of the files vermaden suggested I modify (on pcbsd or refreesbie).

So it still looks hopeless and Ill have to make do with vmware.
 
Old 03-09-2007, 07:47 AM   #11
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
FreeBSD under VmWare loads the lnc driver, you will need to replace this device in your kernel config with le and recompile to get an interface that is not giant locked

You can also add kern.hz=100 to /boot/loader.conf to lower the kernel timing frequency. On top of vmware it is set to 1000 I believe.

You can also add this to your freebsd config file under vmware,
ethernet.virtualDev="e1000" this will allow the simulation of the intel pro. Hope this helps some.

Last edited by lord-fu; 03-09-2007 at 07:49 AM.
 
Old 03-09-2007, 06:48 PM   #12
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
I'm sorry but I don't quite understand what you are saying.
In vmware the internet connection works fine, it is only on the hard drive installed one I'm having problems. The ifconfig output was from the hard drive install.

Should I still follow your instructions?
 
Old 03-13-2007, 06:10 PM   #13
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
So I tried FreeBSD 7 since I had read it supports my netcard.
Well the good news is, it does, it recognises the card and I pinging servers has been successful.
Unfortunately, during the install it complains about missing index files for everything so I'm still stuck in an unusable state really.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bizzarre Internet access problem okok Linux - Networking 2 10-26-2006 08:38 AM
internet access problem superraylo Linux - Networking 4 06-04-2006 10:41 PM
internet host access problem linetnew Linux - Networking 5 10-03-2005 02:15 PM
Odd internet access problem. cidkato Linux - Wireless Networking 3 02-18-2005 03:53 PM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration