Advertisement
Guest User

Untitled

a guest
Jul 7th, 2011
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.49 KB | None | 0 0
  1. I need to use uboot to boot into my router a debian image I was told that for the forst boot I could use a baremetal (if I dont use ext4 fs)
  2.  
  3. the person I talked with gave me this pastebin >> http://kwzs.be/~kevin/wndr3700v2-debian-try-3.txt
  4.  
  5. !Oh its big see the bottom of the Explanation
  6.  
  7. console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100-nor0:256k(uboot),128k(env),6144k(rootfs),64k(caldata),1024k(uImage) board=WNDR3700v2 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware) root=/dev/sda1 ro
  8. ====================================================================
  9. ^^end-product example^^
  10.  
  11.  
  12.  
  13.  
  14. # FIRST CASE ^ read by openwrt cat /proc/cmdline
  15. rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=DIR-615-C1 mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,896k(kernel),2944k(rootfs),64k(art)ro,3840k@0x30000(firmware)
  16.  
  17.  
  18. # SECOND CASE ^read by ONLY SUggested commandline for MIS in Debian Install (Made Possable via the web at :: >http://www.aurel32.net/info/debian_mips_qemu.php
  19. qemu-system-mips -M mips -kernel vmlinux-2.6.18-6-qemu -initrd initrd.gz -hda hda.img -append "root=/dev/ram console=ttyS0" -nographic
  20.  
  21. ^^s0. . . .actual-case broken up into two cases^^
  22.  
  23.  
  24. THIS IS A PASTEBIN FROM A FRIEND WITH A WORKING BOARD
  25.  
  26.  
  27. BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
  28. Enter 'help' for a list of built-in commands.
  29.  
  30. /bin/sh: can't access tty; job control turned off
  31. (initramfs) cat /proc/cmdline
  32. console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100-nor0:256k(uboot),128k(env),6144k(rootfs),64k(caldata),1024k(uImage) board=WNDR3700v2 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware) root=/dev/sda1 ro
  33. (initramfs) Kernel panic - not syncing: Attempted to kill init!
  34. �
  35.  
  36. U-Boot 1.1.4 (Oct 29 2010 - 14:27:18)
  37.  
  38. WNDR3700v1h2 (ar7100) U-boot 0.0.12 dni13 V0.3
  39. DRAM: b8050000: 0xc0140180
  40. 64 MB
  41. Top of RAM usable for U-Boot at: 84000000
  42. Reserving 259k for U-Boot at: 83fbc000
  43. Reserving 192k for malloc() at: 83f8c000
  44. Reserving 44 Bytes for Board Info at: 83f8bfd4
  45. Reserving 36 Bytes for Global Data at: 83f8bfb0
  46. Reserving 128k for boot params() at: 83f6bfb0
  47. Stack Pointer at: 83f6bf98
  48. Now running in RAM - U-Boot at: 83fbc000
  49. id read 0x100000ff
  50. flash size 16MB, sector count = 256
  51. Flash: 16 MB
  52. In: serial
  53. Out: serial
  54. Err: serial
  55. Net: ag7100_enet_initialize...
  56. CHH:mac: 0 if: 2
  57. CHH:mac:verify: 0 if: 00000002
  58. : cfg1 0xf cfg2 0x7014
  59. in rtl8366s_phy_setup mac=-1543912652
  60. after rtl8366s_initChip ret=0
  61. eth0: c4:3d:c7:9b:3a:d5
  62. eth0 up
  63. CHH:mac: 1 if: 1
  64. CHH:mac:verify: 1 if: 00000001
  65. : cfg1 0xf cfg2 0x7014
  66. in rtl8366s_phy_setup mac=-1543912172
  67. eth1: c4:3d:c7:9b:3a:d6
  68. eth1 up
  69. eth0, eth1
  70. Trying eth0
  71. : unit 0 phy is up...RGMii 1000Mbps full duplex
  72. #259:ag7100_set_mac_from_link
  73. : pll reg 0x18050010: 0x11110000
  74. : cfg_1: 0x1ff0000
  75. : cfg_2: 0x3ff
  76. : cfg_3: 0x8001ff
  77. : cfg_4: 0xffff
  78. : cfg_5: 0xfffef
  79. : done cfg2 0x7215 ifctl 0x40605060 miictrl 0x22
  80.  
  81. Client starts...[Listening] for ADVERTISE...T
  82. Abort
  83.  
  84. nmrp server is stopped or failed !
  85. Hit any key to stop autoboot: 0
  86. ar7100> printenv
  87. bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100-nor0:256k(uboot),128k(env),6144k(rootfs),64k(caldata),1024k(uImage)
  88. bootcmd=fsload 80800000 image/uImage;bootm 80800000
  89. bootdelay=1
  90. baudrate=115200
  91. ipaddr=192.168.1.2
  92. serverip=192.168.1.1
  93. clearenv=erase 0xbf050000 +0x10000
  94. stdin=serial
  95. stdout=serial
  96. stderr=serial
  97. ethact=eth0
  98.  
  99. Environment size: 366/65532 bytes
  100. ar7100> ? setenv
  101. setenv name value ...
  102. - set environment variable 'name' to 'value ...'
  103. setenv name
  104. - delete enviq' - try 'help'e 'name'
  105. ar7100> q
  106. ar7100> command 'otargs
  107. ar7100>
  108. ar7100>
  109. ar7100> setenv bootargs
  110. ar7100>
  111. ar7100> printenv
  112. bootcmd=fsload 80800000 image/uImage;bootm 80800000
  113. bootdelay=1
  114. baudrate=115200
  115. ipaddr=192.168.1.2
  116. serverip=192.168.1.1
  117. clearenv=erase 0xbf050000 +0x10000
  118. stdin=serial
  119. stdout=serial
  120. stderr=serial
  121. ethact=eth0
  122.  
  123. Environment size: 208/65532 bytes
  124. ar7100> saveenv
  125. Saving Environment to Flash...
  126. Protect off BF050000 ... BF05FFFF
  127. Un-Protecting sectors 5..5 in bank 1
  128. Un-Protected 1 sectors
  129. Erasing Flash...Erase Flash from 0xbf050000 to 0xbf05ffff in Bank # 1
  130. First 0x5 last 0x5 sector size 0x10000 5
  131. Erased 1 sectors
  132. Writing to Flash... write addr: bf050000
  133. done
  134. Protecting sectors 5..5 in bank 1
  135. Protected 1 sectors
  136. ar7100> �
  137.  
  138. U-Boot 1.1.4 (Oct 29 2010 - 14:27:18)
  139.  
  140. WNDR3700v1h2 (ar7100) U-boot 0.0.12 dni13 V0.3
  141. DRAM: b8050000: 0xc0140180
  142. 64 MB
  143. Top of RAM usable for U-Boot at: 84000000
  144. Reserving 259k for U-Boot at: 83fbc000
  145. Reserving 192k for malloc() at: 83f8c000
  146. Reserving 44 Bytes for Board Info at: 83f8bfd4
  147. Reserving 36 Bytes for Global Data at: 83f8bfb0
  148. Reserving 128k for boot params() at: 83f6bfb0
  149. Stack Pointer at: 83f6bf98
  150. Now running in RAM - U-Boot at: 83fbc000
  151. id read 0x100000ff
  152. flash size 16MB, sector count = 256
  153. Flash: 16 MB
  154. In: serial
  155. Out: serial
  156. Err: serial
  157. Net: ag7100_enet_initialize...
  158. CHH:mac: 0 if: 2
  159. CHH:mac:verify: 0 if: 00000002
  160. : cfg1 0xf cfg2 0x7014
  161. in rtl8366s_phy_setup mac=-1543912652
  162. after rtl8366s_initChip ret=0
  163. eth0: c4:3d:c7:9b:3a:d5
  164. eth0 up
  165. CHH:mac: 1 if: 1
  166. CHH:mac:verify: 1 if: 00000001
  167. : cfg1 0xf cfg2 0x7014
  168. in rtl8366s_phy_setup mac=-1543912172
  169. eth1: c4:3d:c7:9b:3a:d6
  170. eth1 up
  171. eth0, eth1
  172. Trying eth0
  173. : unit 0 phy is up...RGMii 1000Mbps full duplex
  174. #259:ag7100_set_mac_from_link
  175. : pll reg 0x18050010: 0x11110000
  176. : cfg_1: 0x1ff0000
  177. : cfg_2: 0x3ff
  178. : cfg_3: 0x8001ff
  179. : cfg_4: 0xffff
  180. : cfg_5: 0xfffef
  181. : done cfg2 0x7215 ifctl 0x40605060 miictrl 0x22
  182.  
  183. Client starts...[Listening] for ADVERTISE...TTT
  184. Retry count exceeded; boot the image as usual
  185.  
  186. nmrp server is stopped or failed !
  187. Hit any key to stop autoboot: 0
  188. Verifying Checksum ... OK
  189. ### SQUASHFS loading 'image/uImage' to 0x80800000
  190. ### SQUASHFS load complete: 2699647 bytes loaded to 0x80800000
  191. ## Booting image at 80800000 ...
  192. Image Name: MIPS OpenWrt Linux
  193. Created: 2011-07-01 4:35:48 UTC
  194. Image Type: MIPS Linux Kernel Image (lzma compressed)
  195. Data Size: 2699583 Bytes = 2.6 MB
  196. Load Address: 80060000
  197. Entry Point: 80060000
  198. Verifying Checksum ... OK
  199. Uncompressing Kernel Image ... OK
  200. No initrd
  201. ## Transferring control to Linux (at address 80060000) ...
  202. ## Giving linux memsize in bytes, 67108864
  203.  
  204. Starting kernel ...
  205.  
  206. Initializing cgroup subsys cpuset
  207. Initializing cgroup subsys cpu
  208. Linux version 2.6.39.2-1 (openwrt@build64) (gcc version 4.5.4 20110505 (prerelease) (Linaro GCC 4.5-2011.05-0) ) #9 Thu Jun 30 23:35:19 CDT 2011
  209. bootconsole [early0] enabled
  210. CPU revision is: 00019374 (MIPS 24Kc)
  211. SoC: Atheros AR7161 rev 2
  212. Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
  213. Determined physical RAM map:
  214. memory: 04000000 @ 00000000 (usable)
  215. Initrd not found or empty - disabling initrd
  216. Zone PFN ranges:
  217. Normal 0x00000000 -> 0x00004000
  218. Movable zone start PFN for each node
  219. early_node_map[1] active PFN ranges
  220. 0: 0x00000000 -> 0x00004000
  221. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
  222. Kernel command line: board=WNDR3700v2 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware) root=/dev/sda1 ro
  223. PID hash table entries: 256 (order: -2, 1024 bytes)
  224. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  225. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  226. Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  227. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  228. Writing ErrCtl register=00000000
  229. Readback ErrCtl register=00000000
  230. Memory: 54740k/65536k available (2358k kernel code, 10796k reserved, 447k data, 6876k init, 0k highmem)
  231. SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  232. NR_IRQS:80
  233. Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
  234. pid_max: default: 32768 minimum: 301
  235. Mount-cache hash table entries: 512
  236. Initializing cgroup subsys ns
  237. ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
  238. Initializing cgroup subsys cpuacct
  239. Initializing cgroup subsys devices
  240. Initializing cgroup subsys freezer
  241. NET: Registered protocol family 16
  242. MIPS: machine is NETGEAR WNDR3700v2
  243. registering PCI controller with io_map_base unset
  244. bio: create slab <bio-0> at 0
  245. pci 0000:00:11.0: fixup device configuration
  246. pci 0000:00:12.0: fixup device configuration
  247. pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
  248. pci 0000:00:11.0: BAR 0: set to [mem 0x10000000-0x1000ffff] (PCI address [0x10000000-0x1000ffff])
  249. pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
  250. pci 0000:00:12.0: BAR 0: set to [mem 0x10010000-0x1001ffff] (PCI address [0x10010000-0x1001ffff])
  251. PCI: mapping irq 72 to pin1@0000:00:11.0
  252. PCI: mapping irq 73 to pin1@0000:00:12.0
  253. Switching to clocksource MIPS
  254. NET: Registered protocol family 2
  255. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  256. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  257. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  258. TCP: Hash tables configured (established 2048 bind 2048)
  259. TCP reno registered
  260. UDP hash table entries: 256 (order: 0, 4096 bytes)
  261. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  262. NET: Registered protocol family 1
  263. audit: initializing netlink socket (disabled)
  264. type=2000 audit(2.830:1): initialized
  265. VFS: Disk quotas dquot_6.5.2
  266. Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  267. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  268. JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  269. msgmni has been set to 106
  270. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
  271. io scheduler noop registered
  272. io scheduler deadline registered (default)
  273. Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  274. serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
  275. console [ttyS0] enabled, bootconsole disabled
  276. console [ttyS0] enabled, bootconsole disabled
  277. Atheros AR71xx SPI Controller driver version 0.2.4
  278. m25p80 spi0.0: found mx25l12805d, expected m25p80
  279. m25p80 spi0.0: mx25l12805d (16384 Kbytes)
  280. 6 cmdlinepart partitions found on MTD device spi0.0
  281. Creating 6 MTD partitions on "spi0.0":
  282. 0x000000000000-0x000000050000 : "u-boot"
  283. 0x000000050000-0x000000070000 : "u-boot-env"
  284. 0x000000070000-0x000000170000 : "kernel"
  285. 0x000000170000-0x000000ff0000 : "rootfs"
  286. mtd: partition "rootfs" set to be root filesystem
  287. split_squashfs: no squashfs found in "spi0.0"
  288. 0x000000ff0000-0x000001000000 : "art"
  289. 0x000000070000-0x000000ff0000 : "firmware"
  290. Realtek RTL8366S ethernet switch driver version 0.2.2
  291. rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
  292. rtl8366s rtl8366s: RTL8366 ver. 1 chip found
  293. Algorithmics/MIPS FPU Emulator v1.5
  294. rtl8366s: probed
  295. eth0: Atheros AG71xx at 0xb9000000, irq 4
  296. eth1: Atheros AG71xx at 0xba000000, irq 5
  297. Atheros AR71xx hardware watchdog driver version 0.1.0
  298. TCP westwood registered
  299. NET: Registered protocol family 17
  300. Bridge firewalling registered
  301. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
  302. All bugs added by David S. Miller <davem@redhat.com>
  303. registered taskstats version 1
  304. Please be patient, while OpenWrt loads ...
  305. Freeing unused kernel memory: 6876k freed
  306. usbcore: registered new interface driver usbfs
  307. usbcore: registered new interface driver hub
  308. usbcore: registered new device driver usb
  309. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  310. ar71xx-ehci ar71xx-ehci: Atheros AR71xx built-in EHCI controller
  311. ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
  312. ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
  313. ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
  314. hub 1-0:1.0: USB hub found
  315. hub 1-0:1.0: 2 ports detected
  316. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  317. ar71xx-ohci ar71xx-ohci: Atheros AR71xx built-in OHCI controller
  318. ar71xx-ohci ar71xx-ohci: new USB bus registered, assigned bus number 2
  319. ar71xx-ohci ar71xx-ohci: irq 14, io mem 0x1c000000
  320. hub 2-0:1.0: USB hub found
  321. hub 2-0:1.0: 2 ports detected
  322. usb 1-1: new high speed USB device number 2 using ar71xx-ehci
  323. hub 1-1:1.0: USB hub found
  324. hub 1-1:1.0: 4 ports detected
  325. usb 1-1.3: new high speed USB device number 3 using ar71xx-ehci
  326. SCSI subsystem initialized
  327. Initializing USB Mass Storage driver...
  328. scsi0 : usb-storage 1-1.3:1.0
  329. usbcore: registered new interface driver usb-storage
  330. USB Mass Storage support registered.
  331. scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
  332. sd 0:0:0:0: [sda] 8013824 512-byte logical blocks: (4.10 GB/3.82 GiB)
  333. sd 0:0:0:0: [sda] Write Protect is off
  334. sd 0:0:0:0: [sda] Assuming drive cache: write through
  335. sd 0:0:0:0: [sda] Assuming drive cache: write through
  336. sda: sda1 sda2
  337. sd 0:0:0:0: [sda] Assuming drive cache: write through
  338. sd 0:0:0:0: [sda] Attached SCSI removable disk
  339. EXT4-fs (sda1): INFO: recovery required on readonly filesystem
  340. EXT4-fs (sda1): write access will be enabled during recovery
  341. EXT4-fs (sda1): recovery complete
  342. EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
  343. INIT: version 2.88 booting
  344. Using makefile-style concurrent boot in runlevel S.
  345. Starting the hotplug events dispatcher: udevdudev[403]: starting version 164
  346. .
  347. Synthesizing the initial hotplug events...cfg80211: Calling CRDA to update world regulatory domain
  348. done.
  349. Waiting for /dev to be fully populated...input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
  350. PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
  351. udev[419]: renamed network interface eth0 to eth2
  352. ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=72
  353. PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
  354. ath: Failed to initialize MAC address
  355. ath: Unable to initialize hardware; initialization status: -126
  356. ath9k 0000:00:12.0: Failed to initialize device
  357. ath9k: probe of 0000:00:12.0 failed with error -126
  358. done.
  359. Activating swap...Adding 118104k swap on /dev/sda2. Priority:-1 extents:1 across:118104k
  360. done.
  361. EXT4-fs (sda1): re-mounted. Opts: (null)
  362. Checking root file system...fsck from util-linux-ng 2.17.2
  363. /dev/sda1: clean, 23566/242880 files, 168360/971447 blocks
  364. done.
  365. EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
  366. Cleaning up ifupdown....
  367. loop: module loaded
  368. Loading kernel modules...done.
  369. Setting up networking....
  370. Activating lvm and md swap...done.
  371. Checking file systems...fsck from util-linux-ng 2.17.2
  372. done.
  373. Mounting local filesystems...done.
  374. Activating swapfile swap...done.
  375. Cleaning up temporary files....
  376. Setting kernel variables ...done.
  377. Configuring network interfaces...done.
  378. Starting portmap daemon....
  379. Starting NFS common utilities: statd.
  380. Cleaning up temporary files....
  381. INIT: Entering runlevel: 2
  382. Using makefile-style concurrent boot in runlevel 2.
  383. Starting portmap daemon...Already running..
  384. Starting NFS common utilities: statd.
  385. Starting watchdog keepalive daemon: wd_keepalive.
  386. Starting enhanced syslogd: rsyslogd.
  387. Starting deferred execution scheduler: atd.
  388. Starting periodic command scheduler: cron.
  389. Starting MTA:NET: Registered protocol family 10
  390. sshd (1107): /proc/1107/oom_adj is deprecated, please use /proc/1107/oom_score_adj instead.
  391. Starting OpenBSD Secure Shell server: sshd.
  392. exim4.
  393. ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ... failed!
  394. Stopping watchdog keepalive daemon....
  395. Starting watchdog daemon....
  396.  
  397. Debian GNU/Linux 6.0 kodos ttyS0
  398.  
  399. kodos login: root
  400. Password:
  401.  
  402. Login incorrect
  403. kodos login: root
  404. Password:
  405. Last login: Thu Jun 30 21:54:53 CDT 2011 on ttyS0
  406. Linux kodos 2.6.39.2-1 #9 Thu Jun 30 23:35:19 CDT 2011 mips
  407.  
  408. The programs included with the Debian GNU/Linux system are free software;
  409. the exact distribution terms for each program are described in the
  410. individual files in /usr/share/doc/*/copyright.
  411.  
  412. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  413. permitted by applicable law.
  414. root@kodos:~# free -m
  415. total used free shared buffers cached
  416. Mem: 60 39 20 0 6 20
  417. -/+ buffers/cache: 12 47
  418. Swap: 115 0 115
  419. root@kodos:~# df -h
  420. Filesystem Size Used Avail Use% Mounted on
  421. /dev/sda1 3.7G 599M 2.9G 17% /
  422. tmpfs 31M 0 31M 0% /lib/init/rw
  423. udev 10M 80K 10M 1% /dev
  424. tmpfs 31M 0 31M 0% /dev/shm
  425. root@kodos:~# route -n
  426. Kernel IP routing table
  427. Destination Gateway Genmask Flags Metric Ref Use Iface
  428. root@kodos:~# ifconfig -a
  429. eth1 Link encap:Ethernet HWaddr c4:3d:c7:9b:3a:d6
  430. BROADCAST MULTICAST MTU:1500 Metric:1
  431. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  432. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  433. collisions:0 txqueuelen:1000
  434. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  435. Interrupt:5
  436.  
  437. eth2 Link encap:Ethernet HWaddr c4:3d:c7:9b:3a:d5
  438. BROADCAST MULTICAST MTU:1500 Metric:1
  439. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  440. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  441. collisions:0 txqueuelen:1000
  442. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  443. Interrupt:4
  444.  
  445. lo Link encap:Local Loopback
  446. inet addr:127.0.0.1 Mask:255.0.0.0
  447. inet6 addr: ::1/128 Scope:Host
  448. UP LOOPBACK RUNNING MTU:16436 Metric:1
  449. RX packets:8 errors:0 dropped:0 overruns:0 frame:0
  450. TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  451. collisions:0 txqueuelen:0
  452. RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
  453.  
  454. wlan0 Link encap:Ethernet HWaddr c4:3d:c7:9b:3a:d5
  455. BROADCAST MULTICAST MTU:1500 Metric:1
  456. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  457. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  458. collisions:0 txqueuelen:1000
  459. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  460.  
  461. root@kodos:~# dhclient eth1
  462. ADDRCONF(NETDEV_UP): eth1: link is not ready
  463. ^C
  464. root@kodos:~# dhclient eth2
  465. eth2: link up (1000Mbps/Full duplex)
  466. root@kodos:~# route -n
  467. Kernel IP routing table
  468. Destination Gateway Genmask Flags Metric Ref Use Iface
  469. 0.0.0.0 192.168.182.10 0.0.0.0 UG 0 0 0 eth2
  470. 192.168.182.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
  471. root@kodos:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement