Problem with Lan

  • Thread starter Thread starter mikhmv
  • Start date Start date
M

mikhmv

Guest
Hi,
Unfortunately several my machines have Attansic L1e Ethernet cards but 2.6.24 kernel don't recognize it.
How can I install drivers for them without any internet connections?

P.S. I found some info on forum http://ohioloco.ubuntuforums.org/showthread.php?t=770173 but for this case necessary to install build-essential and a lot of additional packages. Without internet it is not simple...
 
Hi,

this is not a Proxmox specific problem. The URL you mentioned does give the solution though. What you could do is download the nescesary packages from http://packages.debian.org/etch/, put them on a USB stick and install them with "dpkg -i packagename". You'll probably wind up doing this over and over again to satisfy dependencies, but in the end that's your way to go.
 
dignus: I know but i hoped that some one now simpler way than download all dependences for package.
 
How about installing any old cheap rtl or 3com nic, do the download and remove it after Attansic isrunningok.

Just an idea.
 
Hi
jcanodk: I don't have any...

I used next steps:
1. Install ubuntu 8.04 x64 in VM
2. install build-essential and aptoncd
3. dpkg --get-selection | grep install | cut -f1 >packages.dpkg
4. apt-get install --reinstall --download-only 'cat packages.dpkg'
5. run aptoncd and create cd with all packages.
on computer without inet used:
6. apt-cdrom add
7. apt-get install build-essential make (really install all dependences from build-essential except dpkg and dpkg-dev, they gave error)
8. copy src for drivers, cd to it
9. KBUILD_NOPEDANTIC=1 make

and I get error: "Linux kernel source not found. Stop."

Question where can i find package:
kernel-headers-2.6.24-2-pve
or How can I install it?

Thanks advance.
 
Hmmm... 10/100 mbit NICs go for about 10 euros or less... and that's incuding 25% danish VAT

Did you get the packages from Ubuntu repos? I believe PROXMOX is running on top of Debian ;-)
 
Last edited:
jcanodk: I have installed all necessary packages except kernel-headers-2.6.24-2-pve
I didn't find this package. I guess it it is modified kernel from Proxmox or some thing like this.
 
Hi
jcanodk: I don't have any...

I used next steps:
1. Install ubuntu 8.04 x64 in VM
2. install build-essential and aptoncd
3. dpkg --get-selection | grep install | cut -f1 >packages.dpkg
4. apt-get install --reinstall --download-only 'cat packages.dpkg'
5. run aptoncd and create cd with all packages.
on computer without inet used:
6. apt-cdrom add
7. apt-get install build-essential make (really install all dependences from build-essential except dpkg and dpkg-dev, they gave error)
8. copy src for drivers, cd to it
9. KBUILD_NOPEDANTIC=1 make

and I get error: "Linux kernel source not found. Stop."

Question where can i find package:
kernel-headers-2.6.24-2-pve
or How can I install it?

Thanks advance.

How complicated do you want to make it?
If you really don't want to spend a couple of euros on a supported NIC then why don't you install PROXMOX in the VM you mention and build the binary there???
Anyway, i still don't know why you want to fetch the Ubuntu packages when you really want the Debian ones.
 
jcanodk: I have installed all necessary packages except kernel-headers-2.6.24-2-pve
I didn't find this package. I guess it it is modified kernel from Proxmox or some thing like this.

The package is in the pve repository.
 
Hi dietmar:

I reinstall system and install again build-essential, make, kernel-package, linux-kernel-headers (with temporary NIC). But I can't compile drivers.
I received message:
Code:
Makefile:63: *** Linux kernel source not found.  Stop.
In make file on this line following code:
Code:
BUILD_KERNEL=$(shell uname -r) 
DRIVER_NAME = atl1e 
########################################################################### 
# Environment tests 
 
# Kernel Search Path 
# All the places we look for kernel source 
KSP :=  /lib/modules/$(BUILD_KERNEL)/build \ 
        /lib/modules/$(BUILD_KERNEL)/source \ 
        /usr/src/linux-$(BUILD_KERNEL) \ 
        /usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \ 
        /usr/src/kernel-headers-$(BUILD_KERNEL) \ 
        /usr/src/kernel-source-$(BUILD_KERNEL) \ 
        /usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \ 
        /usr/src/linux
# prune the list down to only values that exist 
# and have an include/linux sub-directory 
test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir)) 
KSP := $(foreach dir, $(KSP), $(test_dir)) 
 
# we will use this first valid entry in the search path 
ifeq (,$(KSRC)) 
  KSRC := $(firstword $(KSP)) 
endif 
 
ifeq (,$(KSRC)) 
  $(error Linux kernel source not found)  #It is line 63
else 
ifeq (/lib/modules/$(shell uname -r)/source, $(KSRC)) 
  KOBJ :=  /lib/modules/$(shell uname -r)/build 
else 
  KOBJ :=  $(KSRC) 
endif 
endif
I manually check all this paths and didn't find them.
Code:
/usr/src# ls
linux-source-2.6.24.tar.bz2
And I didn't find kernel-headers-2.6.24-2-pve
Code:
apt-cache search kernel-headers
kernel-package - A utility for building Linux kernel related Debian packages.
linux-kernel-headers - Linux Kernel Headers for development
rt2x00-source - RT2x00 wireless network drivers source
rt2400-source - RT2400 wireless network drivers source
rt2500-source - RT2500 wireless network drivers source
rt2570-source - RT2570 wireless network drivers source
I have installed kernel-package and linux-kernel-headers but it wasn't helpful.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!