<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help needed: Compile driver (USB nic)]]></title><description><![CDATA[<p dir="auto">Hey all,</p>
<p dir="auto">i've set up a pfSense-full 1.2.1 on an Alix-Board. Now i need to have 2 USB-NICs connected to the system.<br />
I know about speed-problems and other issues… that would all be okay for me.</p>
<p dir="auto">I do not have much idea about FreeBSD, so it would be great if someone could help me get the USB-NICs running.</p>
<p dir="auto">usbdevs recognizes the devices. everything okay IMHO:</p>
<hr />
<h1><a class="anchor-offset" name="usbdevs-v"></a>usbdevs -v</h1>
<h2><a class="anchor-offset" name="controller-dev-usb0-br-addr-1-full-speed-self-powered-config-1-ohci-root-hub-0x0000-amd-0x0000-rev-1.00-br-port-1-powered-br-port-2-powered-br-port-3-powered-br-port-4-powered-br-controller-dev-usb1-br-addr-1-high-speed-self-powered-config-1-ehci-root-hub-0x0000-amd-0x0000-rev-1.00-br-port-1-addr-2-high-speed-power-500-ma-config-1-usb-mac-controller-0x7830-moschip-semiconductor-0x9710-rev-1.00-br-port-2-addr-3-high-speed-power-500-ma-config-1-usb-mac-con-0x7830-moschip-semiconductor-0x9710-rev-1.00-br-port-3-powered-br-port-4-powered"></a>Controller /dev/usb0:<br />
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AMD(0x0000), rev 1.00<br />
port 1 powered<br />
port 2 powered<br />
port 3 powered<br />
port 4 powered<br />
Controller /dev/usb1:<br />
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), AMD(0x0000), rev 1.00<br />
port 1 addr 2: high speed, power 500 mA, config 1, USB-MAC Controller(0x7830), Moschip Semiconductor(0x9710), rev 1.00<br />
port 2 addr 3: high speed, power 500 mA, config 1, USB-MAC Con??????????(0x7830), Moschip Semiconductor(0x9710), rev 1.00<br />
port 3 powered<br />
port 4 powered</h2>
<p dir="auto">But in ifconfig -a, they won't show up as ethernet-devices.<br />
I think that must be a driver problem!? I don't know how to solve that. I think 2 ways are possible:</p>
<p dir="auto">1. i read something about if_udav. Can somebody tell me how to get that running in my pfsense?</p>
<p dir="auto">2. take the freebsd-driver from the moschip-website. it is only available for freebsd 6.2, but maybe it works with 7.<br />
the readme tells me to do a "make ld". as far as i know, i cannot do that with pfsense. so i would need to have a developers edition or a freebsd7-livecd. Since i spend a few hours till now, i hoped that some of you can give me more information. will that work? maybe some of you guys could do the compiling-stuff for me and send me the file?</p>
<p dir="auto">The driver is on the moschip-website (mcs7830), but you need to register there. You may download it at: http://www-DOT-dateiserver-DOT-net/Driver_FreeBSD_7830.tar.gz</p>
<p dir="auto">i'm sorry i have no more knowledge of freebsd -&gt; thank you VERY much in advance for your step-by-step help ;-)</p>
]]></description><link>https://forum.netgate.com/topic/12699/help-needed-compile-driver-usb-nic</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 03:12:36 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/12699.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Jan 2009 21:20:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help needed: Compile driver (USB nic) on Tue, 07 Apr 2009 22:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I was able to compile the driver in this way (usuing a computer with FreeBSD 7):</p>
<h1><a class="anchor-offset" name="tar-zxvf-driver_freebsd_7830.tar.gz"></a>tar zxvf Driver_FreeBSD_7830.tar.gz</h1>
<p dir="auto">x Driver_FreeBSD_7830/README~<br />
x Driver_FreeBSD_7830/if_mosreg.h<br />
x Driver_FreeBSD_7830/if_mos.c<br />
x Driver_FreeBSD_7830/README<br />
x Driver_FreeBSD_7830/Makefile</p>
<h1><a class="anchor-offset" name="cd-driver_freebsd_7830"></a>cd Driver_FreeBSD_7830</h1>
<h1><a class="anchor-offset" name="vi-if_mos.c"></a>vi if_mos.c</h1>
<h3><a class="anchor-offset" name="add-the-following"></a>Add the following</h3>
<p dir="auto">#include &lt;dev usb="" usb_port.h=""&gt;Then compile and load the module</p>
<h1><a class="anchor-offset" name="make"></a>make</h1>
<h1><a class="anchor-offset" name="kldload-if_mos.ko"></a>kldload if_mos.ko</h1>
<p dir="auto">You will see the interface as mos0</p>
<h1><a class="anchor-offset" name="ifconfig"></a>ifconfig</h1>
<p dir="auto">mos0: flags=108802 &lt;broadcast,simplex,multicast,needsgiant&gt;metric 0 mtu 1500<br />
        ether 00:50:c5:70:1c:9b<br />
        media: Ethernet autoselect (none)<br />
        status: active</p>
<p dir="auto">I think if you want it to get it working in PFSense you should copy if_mos.ko to /boot/kernel and then add  if_mos_load="YES" to /boot/loader.conf so the module will be started every time you boot the system..<br />
Regards,</p>
<p dir="auto">Juan Priotti&lt;/broadcast,simplex,multicast,needsgiant&gt;&lt;/dev&gt;</p>
]]></description><link>https://forum.netgate.com/post/194750</link><guid isPermaLink="true">https://forum.netgate.com/post/194750</guid><dc:creator><![CDATA[jcpriotti]]></dc:creator><pubDate>Tue, 07 Apr 2009 22:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed: Compile driver (USB nic) on Tue, 13 Jan 2009 22:53:17 GMT]]></title><description><![CDATA[<p dir="auto">RE: DUB-E100's- I've setup a test Alix 2c3 with the D-Link USB as WAN, put a laptop behind it and got to the Internet. The actual deployment will used for an additional DSL, I'm thinking it should run fine, but there is still a chance it could misbehave under real world conditions. I have also not tested running two at the same time beyond verifying they will both fit and show up as interfaces.</p>
<p dir="auto">EDIT- I took a quick look at that moschip driver, and it says it was tested on FreeBSD 6.2. That means your best chance of getting a working driver might be to compile it on a 6.2 box and try to drop it into a pfSense 1.2 system. (Not 1.2.1 or 1.2.2, which are based on FreeBSD 7.0)</p>
]]></description><link>https://forum.netgate.com/post/188343</link><guid isPermaLink="true">https://forum.netgate.com/post/188343</guid><dc:creator><![CDATA[dotdash]]></dc:creator><pubDate>Tue, 13 Jan 2009 22:53:17 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed: Compile driver (USB nic) on Tue, 13 Jan 2009 11:02:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply dotdash.</p>
<p dir="auto">I found out that i would need to patch the kernel in some way… because the driver would be a "kernel loadable device" or something. i dont have enough knowledge about these things ;-)</p>
<p dir="auto">i will cancel the task if there is no one else who can give me good hint.</p>
<p dir="auto">dotdash: you said "INITIAL testing". can you give me some more info onto that? i would buy 2 E100s if they are okay on pfSense! THX!!!!</p>
]]></description><link>https://forum.netgate.com/post/188332</link><guid isPermaLink="true">https://forum.netgate.com/post/188332</guid><dc:creator><![CDATA[ika]]></dc:creator><pubDate>Tue, 13 Jan 2009 11:02:03 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed: Compile driver (USB nic) on Fri, 09 Jan 2009 23:43:31 GMT]]></title><description><![CDATA[<p dir="auto">Just a couple of comments.</p>
<ol>
<li>udav is for a different device, so that wouldn't help.</li>
<li>Initial testing on my Alix shows that 1.2.1 seems to work with the newer (B1) revisions of the D-Link  DUB-E100 that are currently available (from newegg for instance).</li>
</ol>
]]></description><link>https://forum.netgate.com/post/188103</link><guid isPermaLink="true">https://forum.netgate.com/post/188103</guid><dc:creator><![CDATA[dotdash]]></dc:creator><pubDate>Fri, 09 Jan 2009 23:43:31 GMT</pubDate></item></channel></rss>