Bonjour, je viens de redémarrer mon serveur, et impossible de me connecter à internet, et mon interface n’ est pas reconnue :
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35817 (34.9 KiB) TX bytes:35817 (34.9 KiB)
Je n’ ai rien fait entre les 2 boots, sinon un fsck… Auparavant, cela fonctionnait sans problème.
Les voyants ethernet s’ allument, le port fonctionne (essayé sur une autre machine)
Je n’ ai pas vu trace de mon port sur le dmesg :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-26) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Wed Oct 20 12:58:44 UTC 2010
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c03d30b8, node_mem_map c0440000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130048 pages, LIFO batch:31
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda3 rootdelay=10 rootfstype=ext3
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 509568KB available (3512K code, 583K data, 124K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] Console: colour dummy device 80x30
[ 0.000124] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[ 0.240084] Security Framework initialized
[ 0.240104] SELinux: Disabled at boot.
[ 0.240131] Mount-cache hash table entries: 512
[ 0.240417] Initializing cgroup subsys ns
[ 0.240432] Initializing cgroup subsys cpuacct
[ 0.240442] Initializing cgroup subsys devices
[ 0.240451] Initializing cgroup subsys freezer
[ 0.240458] Initializing cgroup subsys net_cls
[ 0.240514] CPU: Testing write buffer coherency: ok
[ 0.241226] devtmpfs: initialized
[ 0.242889] regulator: core version 0.5
[ 0.243092] NET: Registered protocol family 16
[ 0.243573] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 0.243585] Feroceon L2: Enabling L2
[ 0.243617] Feroceon L2: Cache support initialised.
[ 0.244024] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 0.244045] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 0.245437] bio: create slab <bio-0> at 0
[ 0.245696] vgaarb: loaded
[ 0.246141] Switching to clocksource orion_clocksource
[ 0.249721] NET: Registered protocol family 2
[ 0.249952] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.250766] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.251119] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.251298] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.251307] TCP reno registered
[ 0.251454] NET: Registered protocol family 1
[ 0.251623] Unpacking initramfs...
[ 0.614226] Freeing initrd memory: 5548K
[ 0.614335] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.614577] audit: initializing netlink socket (disabled)
[ 0.614609] type=2000 audit(0.600:1): initialized
[ 0.620993] VFS: Disk quotas dquot_6.5.2
[ 0.621257] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.621347] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.621985] msgmni has been set to 1006
[ 0.623604] alg: No test for stdrng (krng)
[ 0.623726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.623739] io scheduler noop registered
[ 0.623746] io scheduler anticipatory registered
[ 0.623753] io scheduler deadline registered
[ 0.623930] io scheduler cfq registered (default)
[ 0.629819] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.630270] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 0.953160] console [ttyS0] enabled
[ 0.957230] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[ 0.965888] Scanning device for bad blocks
[ 1.028300] Bad eraseblock 1994 at 0x00000f940000
[ 1.033758] Bad eraseblock 2019 at 0x00000fc60000
[ 1.080365] Bad eraseblock 3453 at 0x00001afa0000
[ 1.103842] Creating 3 MTD partitions on "orion_nand":
[ 1.109026] 0x000000000000-0x000000100000 : "u-boot"
[ 1.114557] 0x000000100000-0x000000500000 : "uImage"
[ 1.120027] 0x000000500000-0x000020000000 : "root"
[ 1.126261] mice: PS/2 mouse device common for all mice
[ 1.131743] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 1.137690] i2c /dev entries driver
[ 1.141386] cpuidle: using governor ladder
[ 1.145610] cpuidle: using governor menu
[ 1.149666] Registered led device: plug:green:health
[ 1.154702] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 1.161121] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 1.206202] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 1.246201] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 1.286198] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 1.326198] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 1.332859] TCP cubic registered
[ 1.336102] NET: Registered protocol family 17
[ 1.340598] Gating clock of unused units
[ 1.340607] before: 0x00c701dd
[ 1.340614] after: 0x00c701d9
[ 1.340906] registered taskstats version 1
[ 1.345627] rtc-mv rtc-mv: setting system clock to 2010-11-12 20:00:14 UTC (1289592014)
[ 1.353690] Initalizing network drop monitor service
[ 1.358744] Freeing init memory: 124K
[ 1.436610] udev[44]: starting version 163
[ 1.718059] MV-643xx 10/100/1000 ethernet driver version 1.4
[ 1.724015] mv643xx_eth smi: probed
[ 1.775251] usbcore: registered new interface driver usbfs
[ 1.786612] usbcore: registered new interface driver hub
[ 1.793372] net eth0: port 0 with MAC address 00:50:43:fd:1d:23
[ 1.800012] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 1.812483] usbcore: registered new device driver usb
[ 1.831727] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.838370] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 1.843672] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 1.876186] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 1.896173] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 1.903632] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.910483] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.917754] usb usb1: Product: Marvell Orion EHCI
[ 1.922478] usb usb1: Manufacturer: Linux 2.6.32-5-kirkwood ehci_hcd
[ 1.928870] usb usb1: SerialNumber: orion-ehci.0
[ 1.935072] usb usb1: configuration #1 chosen from 1 choice
[ 1.941027] hub 1-0:1.0: USB hub found
[ 1.944820] hub 1-0:1.0: 1 port detected
[ 2.266185] usb 1-1: new high speed USB device using orion-ehci and address 2
[ 2.417088] usb 1-1: New USB device found, idVendor=059b, idProduct=0475
[ 2.423826] usb 1-1: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[ 2.431181] usb 1-1: Product: USB to ATA/ATAPI bridge
[ 2.436265] usb 1-1: Manufacturer: Iomega
[ 2.440288] usb 1-1: SerialNumber: 9C90FFFFFFFF
[ 2.446139] usb 1-1: configuration #1 chosen from 1 choice
[ 2.532886] SCSI subsystem initialized
[ 2.559645] Initializing USB Mass Storage driver...
[ 2.564784] scsi0 : SCSI emulation for USB Mass Storage devices
[ 2.571454] usbcore: registered new interface driver usb-storage
[ 2.578070] usb-storage: device found at 2
[ 2.578079] usb-storage: waiting for device to settle before scanning
[ 2.578114] USB Mass Storage support registered.
[ 7.576541] usb-storage: device scan complete
[ 7.577176] scsi 0:0:0:0: Direct-Access ST350041 8AS PQ: 0 ANSI: 2 CCS
[ 7.613992] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 7.622230] sd 0:0:0:0: [sda] Write Protect is off
[ 7.627064] sd 0:0:0:0: [sda] Mode Sense: 28 00 00 00
[ 7.627073] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.634601] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.640743] sda: sda1 sda2 sda3
[ 7.671605] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.677756] sd 0:0:0:0: [sda] Attached SCSI disk
[ 12.155809] kjournald starting. Commit interval 5 seconds
[ 12.161367] EXT3-fs: mounted filesystem with ordered data mode.
[ 13.588723] udev[169]: starting version 163
[ 13.888502] udev[181]: renamed network interface eth0 to eth2
[ 15.066398] Adding 1076344k swap on /dev/sda2. Priority:-1 extents:1 across:1076344k
[ 387.922283] EXT3 FS on sda3, internal journal
[ 388.305412] loop: module loaded
Je suis actuellement en static, j’ ai essayé de me mettre en dhcp, de rebooter (serveur et Freebox) sans résultat.
Mon /network/interfaces :
[code] auto lo
iface lo inet loopback
reseau local
auto eth1
iface eth1 inet static
address 192.168.XXXXX
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.1.1
[/code]
J’ ai essayé de mettre eth0 à la place.
Si je fais un /etc/networking restart j’ obtiens :
/etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Failed to bring up eth1.
Si je fais un dhclient eth1 :
dhclient eth1
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
(pareil avec eth0)
Là vraiment je ne vois pas ce qui cloche, et pourquoi c’ est arrivé subitement.
Merci pour votre aide !