Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2012 14:23:27 +0800
From:      YC Wang <>
To:        =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= <>
Subject:   Re: How does freebsd supports ipx?
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
2012/10/12 =D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B9 =D0=A2=D1=83=D1=80=D0=
=BE=D0=B2=D0=B5=D1=86 <>:
> 2012/10/12 YC Wang <>:
>> Hi,all:
>>     I read from wikipedia that freebsd supports ipx. But when I tried
>> to set ipx address on em0=EF=BC=8Cit showed the following message:
>>     freebsd-yc# ifconfig em0 ipx (netnum.nodenum)
>>     ifconfig: socket(family 23,SOCK_DGRAM: Protocol not supported
>>     And as I furher trussed the ifconfig process, I found this was
>> probably caused by the failure of the socket syscall:
>>     freebsd-yc# truss ifconfig em0 ipx netnum.nodenum
>>     ......
>>     socket(PF_IPX,SOCK_DGRAM,0)                  ERR#43 'Protocol not su=
>>     ......
>>     In contrast however, when calling "socket(PF_IPX,SOCK_DGRAM,0)" on
>> Linux, it will automatically load the ipx kernel module and the socket
>> syscall returns successfully. But I don't find any ipx module in
>> /boot/kernel/ on freebsd.
>>    So I wonder how does freebsd supports ipx? Is there any other work
>> I should do for this purpose?
>>    And if this isn't the most appropriate list for this question,
>> please let me know.
>>   Thanks
>>   YC Wang
>> _______________________________________________
>> mailing list
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
> I suppose you should add "options IPX" line to your kernel
> configuration file and rebuild/reinstall the kernel.
> --
> ~~~
> WBR,
> Vitaliy Turovets
> NOC Lead @TV-Net ISP
> NOC Lead @Service Outsourcing company
> +38(093)265-70-55
> X-NCC-RegID:


I rebuilt the kernel with "option IPX", but it didn't seem to work.
Below was what I did:

1) create a new configure file IPXKERNEL enabling "option IPX"
freebsd-yc# cat /sys/i386/conf/IPXKERNEL
include GENERIC
options	IPX

2) make buildkerel KERNCONF=3DIPXKERNEL. When finised, I found that the
ipx source code did get compiled, but hadn't been linked into a kernel
freebsd-yc# find /usr/obj/usr/src/sys/IPXKERNEL/ | grep  ipx

3) Still I installed the new kernel with "make installkernel
KERNCONF=3DIPXKERNEL", and as expected, it was exactly the same to the
old one.
freebsd-yc# ls /boot/kernel > kernel.txt
freebsd-yc# ls /boot/kernel.old/ > kernelold.txt
freebsd-yc# diff kernel.txt kernelold.txt

So do you have any idea about this? The information of my system is:
freebsd-yc# uname -a
FreeBSD freebsd-yc.vm 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Oct 15
11:20:49 CST 2012
root@freebsd-yc.vm:/usr/obj/usr/src/sys/IPXKERNEL  i386

YC Wang

Want to link to this message? Use this URL: <>