Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: nicodeme31 on October 12, 2008, 11:35:37 AM
-
Hi,
I have some problem with a NIC r8168 on a Eee Box. I run with the r1000 driver but the MAC address of eth change to FF:FF:FF:FF:FF:FF some time.
I want to compile the r8168 dirver but i hav some others problem (my system is up to date) :
- kernel and kernel source haven't the same version. I haven't find the latest version of kernel (2.6.9.78)
- gcc isn't the version that have compile kernel. I can't load the module after compile them.
It seems not normal...
Can you help me ? Thank's
Bye
Nicolas
-
Can you help me ? Thank's
Your easiest and quickest option is to buy a compatible card as they are inexpensive.
-
Your easiest and quickest option is to buy a compatible card as they are inexpensive.
It is not possible in a Eee Box...
I just need the correct gcc...
-
I think you need another kind of pc.. eee box is not, IMHO, the best solution for SME.
my 2c
ciao
Stefano
-
I think you need another kind of pc.. eee box is not, IMHO, the best solution for SME.
my 2c
ciao
Stefano
Why ? The consumption of Eee Box is low (20 W). It is sufficient to run sme. It is a very good hard for small environment. With a Eeebox i can propose to small enterprises a light and green solution. I can change hdd if more storage is needed.
I have made a PC server with via C7 processor and it run fine since many months.
For 230€ (in France), i have a mail server, a file server, an egroupware server and i add an external backup solution... with a low consumption, low noise. For small business until 5 persons it is a very good solution.
(sorry for my poor english...)
-
I agree, because it is a "eee box" and not a "eee sub notebook" ?!
http://www.silentpcreview.com/article867-page6.html
As an "extra server" I have an old Via C3 based box. I think it will last for ever, as there is no heat and now noise. It just works like it have done during all the years. Not a problem. I guess a new eee hardware will at least be as powerfull as my C3.
The only function that will need some prosessor power to have any meaning, that is the Squid web cache.
(Running sme 7.3 in gateway mode with a some powerfull processor can "speed up" the internet connection.) (Possibly not really, but web surfing appear to work a bit quicker.)
-
It is an Eee Box not an Eee PC : http://usa.asus.com/products.aspx?l1=24&l2=165
-
I have no ide if this can help at all, but I found my old notes from last time I did some kernel module compilation:
First of all one need to open up for the installation of individual program packages in the server-manager panel.
Then it is to choose the right repositories from the server-manager panel.
This will affect also the options that is available from shell.
I went into Linux shell via Putty and installed these packages.
1. Go to the server-manager panel and enable the yum function (program installer)
2. yum install kernel-devel Kernel-headers
3. yum install gcc
4. yum install cvs
5. yum install openssl-devel
I believe this should work for most purposes.
Maybe it have to be "adjusted" or updated in some way, I don't know.
By the way for some days ago I sendt in a modification proposal for uptimizing the SME server for such "light hardware" and virtual environments. The idea was to reduce the memory and load from Apache web server and to turn off some services like Squid and Samba. I tested this "internet-server-only" variant running quite ok on only 64 MB RAM. (But the EEE box should be powerfull enough to run and support the full SME server installation.)
By the way, installing a development environment is considered to be a sequrity risk, so it should be removed after the compilation of source code has been done.
-
Thank's for your notes.
But the problem is that the version of gcc is not the same that kernel. In this case, the compiled module is not accepted by the kernel.
gcc version is 3.6.10 and i suppose that the gcc version for compile the kernel was 3.6.9.
The depot of SME seams to be not coherent...
bye
-
May be then remove it all (compiler etc) and then install again via yum. If then the repositories does not give correct versions, report it in the bugtracker ?! http://bugs.contribs.org/
-
If then the repositories does not give correct versions, report it in the bugtracker ?! http://bugs.contribs.org/
Since no complier tools are installed on the SME Server you will not need to report it to the bug tracker, as always it is bad advice to install complier tools on SME Server, you'll need to do any compiling on a Centos 4.x environment.
-
By the way, installing a development environment is considered to be a sequrity risk, so it should be removed after the compilation of source code has been done.
The better advice would be to use a Centos 4.x environment.
-
Hi,
I have ressolved my problem ! The tuto :
download the correct source of the kernel
wget http://linux.web.psi.ch/dist/scientific/46/kernel/2.6.9-67.0.7.EL/kernel-smp-devel-2.6.9-67.0.7.EL.i686.rpm
rpm -ivh kernel-smp-devel-2.6.9-67.0.7.EL.i686.rpm
yum install gcc glibc-devel glibc-headers glibc-kernheaders
wget ftp://202.65.194.212/cn/nic/r8168-8.008.00.tar.bz2
tar vjxf r8168-8.008.00.tar.bz2
cd r8168-8.008.00
make clean modules
make install
depmod -a
I have suppressed the r1000 driver
rm /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/net/r1000.ko
nano /etc/modprob.conf
replace "alias eth0 r1000" to "alias eth0 r8168"
then reboot Eee Box
bye
Nicolas
-
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
Be very careful if any one follows this advice, it is advisable NOT to follow these steps, the best piece of advice would be to do your compiling on the CentOS 4.x
-
Hi,
I have ressolved my problem ! The tuto :
download the correct source of the kernel
wget http://linux.web.psi.ch/dist/scientific/46/kernel/2.6.9-67.0.7.EL/kernel-smp-devel-2.6.9-67.0.7.EL.i686.rpm
rpm -ivh kernel-smp-devel-2.6.9-67.0.7.EL.i686.rpm
yum install gcc glibc-devel glibc-headers glibc-kernheaders
wget ftp://202.65.194.212/cn/nic/r8168-8.008.00.tar.bz2
tar vjxf r8168-8.008.00.tar.bz2
cd r8168-8.008.00
make clean modules
make install
depmod -a
I have suppressed the r1000 driver
rm /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/net/r1000.ko
nano /etc/modprob.conf
replace "alias eth0 r1000" to "alias eth0 r8168"
then reboot Eee Box
bye
Nicolas
Hi,
I try this,
its dont work on my eeebox.
I find my r8168.ko in /lib/modules/2.6.9-67.0.7.EL/kernel/drivers/net/
But when i try to choose it in admin config, have message than "this driver cant be load".
I realy dont know why.
Ur help are welcome ^^.
PS :
I install SME 7.4. via usb
and i use :
kernel-smp-devel-2.6.9-78.0.8.EL.i686.rpm
cpp-3.4.6-10.i386.rpm
glibc-kernheaders-2.4-9.1.103.EL.i386.rpm
glibc-headers-2.3.4-2.41.i386.rpm
glibc-devel-2.3.4-2.41.i386.rpm
gcc-3.4.6-10.i386.rpm