Guest alcon Posted May 29, 2013 Share Posted May 29, 2013 Witam. Szukałem ale nie mogę znaleźć odpowiedniej metody na zmianę mac adresu chciałem zmienić na oryginalny taki jak jest na nboxie próbowałem przez program saveenv ale nie udaje mi się to. Otwiera mi się port nr 3 motem wpisuje swój mac pod etheaddr zmiany się zapisują i nic nie wiem co robię nie tak a mam dwa nboxy w jednej sieci domowej i mam konflikt po wgraniu OpenPLi 8.3.0 mod by tux będę wdzięczny za pomoc. Quote Link to comment Share on other sites More sharing options...
tux Posted May 29, 2013 Share Posted May 29, 2013 Dla uboota Freebox kolejność jest taka: wgrać nowy MAC wgrać ponownie ENV (bez wgrania ENV mac będzie nadal poprzedni) Quote Link to comment Share on other sites More sharing options...
Guest alcon Posted May 29, 2013 Share Posted May 29, 2013 A czy moge prosic o blizsze wyjasnienie jak to sie robi ? niestety ale jestem poczatkujacy jezeli o to chodzi Quote Link to comment Share on other sites More sharing options...
kamelia Posted May 29, 2013 Share Posted May 29, 2013 W przeciągu najbliższych kilku dni (najprawdopodobniej do końca tegoż tygodnia) będzie już poradnik dotyczący tego tematu. Quote Link to comment Share on other sites More sharing options...
Guest alcon Posted May 29, 2013 Share Posted May 29, 2013 dzięki wielkie czekam zatem z niecierpliwościa ;D Quote Link to comment Share on other sites More sharing options...
cronos20 Posted May 30, 2013 Share Posted May 30, 2013 Zmiana MAC Adress w image Freebox z poziomu TC. W pliku rcS (plik jest w etc/init.d), po tekscie: Kod: (...) insmod $MODDIR/mme_host.ko transport0=shm należy wpisać: Kod: ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx ifconfig eth0 promisc W miejsca iksów należy wpisać MAC odczytany z naklejki dekodera, lub wymyślony, własny. Plik rcS należy edytować przynajmniej w Notepad2. Nie należy edytować Notatnikiem z Windows, edycja w nim jest niepoprawna, bo zmienia format i atrybuty pliku w nBoxie! Robie to 'na gorąco", poprzez TotalCommandera (TC), z ustawionym Notepad2 jako domyślnym edytorem tekstu: zaznaczenie pliku rcS do edycji i edycja (F4), zmiany w pliku, zapis, zamknięcie Notepad2, potwierdzenie zmian w TC, restart dekodera z nowym rcS-em. Zgodnie ze wskazówkami @Jacka z Torunia dopisałem ponieważ cenię sobie porady Jacka z Torunia :-) - pozdr. Quote Link to comment Share on other sites More sharing options...
tux Posted May 30, 2013 Share Posted May 30, 2013 Po pierwsze nigdy nic nie dopisujemy do pliku rcS - przynajmniej we freebox mod by tux. Ten plik zyje wlasnym zyciem - czytaj czesto jest zmieniany. Nastepna sprawa to ta ze zmiane adresu mac tymczasowo mozna wykonac "po ludzku" w pliku interfaces. Ostatnia sprawa to ta ze powyzsze zmiany nie maja wplywu na ich stalosc. Co instlacje IMAGE robota od poczatku. Ja rozumiem ze niektorzy chca pomoc i bardzo to cenie. Jednak na przyszlosc prosze o niepodawanie przepisow obchodzacych problem. Nie po to istnieje mozliwosc zmiany MAC na stale w nBox i nie po to wymyslono ustawienia w pliku interfaces aby obchodzic te sprawy do okola. Quote Link to comment Share on other sites More sharing options...
cronos20 Posted May 30, 2013 Share Posted May 30, 2013 W przeciągu najbliższych kilku dni (najprawdopodobniej do końca tegoż tygodnia) będzie już poradnik dotyczący tego tematu. no to czekamy ! Quote Link to comment Share on other sites More sharing options...
Guest alcon Posted June 2, 2013 Share Posted June 2, 2013 coś się ruszyło może ze zmianą mac adresu i poradnikiem ? czy dalej czekamy ? Quote Link to comment Share on other sites More sharing options...
kamelia Posted June 2, 2013 Share Posted June 2, 2013 Zmiana mac adresu to tylko część zawartości najnowszego posta w FAQ: http://forum.xunil.pl/index.php/topic,81.msg4696.html#msg4696 Quote Link to comment Share on other sites More sharing options...
Guest alcon Posted June 2, 2013 Share Posted June 2, 2013 dzieki wielkie zabieram sie za zmiana maca Quote Link to comment Share on other sites More sharing options...
Guest dar3kg Posted September 22, 2014 Share Posted September 22, 2014 Witam Podpinam się pod temat. mam uboot'a z b4team, tuner nbox bzzb. Chce zmienić adres MAC, zawsze robiłem to poprzez /etc/init.d/rcS. Jak można zauważyć sposób nieaktualny, więc spróbowałem sposobem z zmianą zmiennych w env, jako, że mam uboot b4team, Podglądałem plik update.txt i update.img. Wychodzi na to ze wszystko składa się na: wykonanie poleceń w ubocie(oczywiście przez rs232): set ethaddr <address_mac> saveenv po restarcie karta sieciowa nie była dostępnaw enigmie, po drugim wrócił stary adres mac. Co robię źle? Quote Link to comment Share on other sites More sharing options...
Guest j00zek Posted September 22, 2014 Share Posted September 22, 2014 pokaż całą zawartość env, czyli co zwraca komenda "printenv". Quote Link to comment Share on other sites More sharing options...
Guest dar3kg Posted September 22, 2014 Share Posted September 22, 2014 printenv przed i po komendach, wygląda na to ze nic nie zmieniają.... ADB_Box> printenv bootdelay=4 baudrate=115200 board=nbox_27 monitor_base=0xA0000000 monitor_len=0x00040000 monitor_sec=1:0-3 load_addr=0x84000000 unprot=protect off $monitor_sec update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec ipaddr=192.168.0.50 serverip=192.168.0.1 gatewayip=192.168.0.1 gateway=192.168.0.1 netmask=255.255.255.0 boot_ID=Nbox bootdesc_1=Fb-uboot bootcmd_1=run bootkern_1 bootkern_1=protect off all; erase a02e0000 a02fffff; go a0206000 bootdesc_2=ENV2 BSLA+Hdd bootcmd_2=run bootkern_2 bootkern_2=protect off all; erase a0260000 a026ffff; cp.b a02b4000 a0260000 4000; go a0280000 bootdesc_3=USH1 bootcmd_3=set bootdesc_default 3; saveenv; run bootargs_3; run bootkern_3 bootkern_3=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_3=set bootargs console=ttyAS0,115200 root=/dev/sdb1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_4=USB1 bootcmd_4=set bootdesc_default 4; saveenv; run bootargs_4; run bootkern_4 bootkern_4=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_4=set bootargs console=ttyAS0,115200 root=/dev/sda1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_5=USB2 bootcmd_5=set bootdesc_default 5; saveenv; run bootargs_5; run bootkern_5 bootkern_5=usb reset; ext2load usb 0:2 a5000000 /boot/uImage; bootm a5000000 bootargs_5=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_6=USB3 bootcmd_6=set bootdesc_default 6; saveenv; run bootargs_6; run bootkern_6 bootkern_6=usb reset; ext2load usb 0:3 a5000000 /boot/uImage; bootm a5000000 bootargs_6=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_7=n-HYPERION bootcmd_7=set bootdesc_default 7; saveenv; run bootargs_7; run bootkern_7 bootkern_7=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_8=n-Fbox bootcmd_8=set bootdesc_default 8; saveenv; run bootargs_8; run bootkern_8 bootkern_8=nand read.i 0xa5000000 0x3c00000 0x300000; bootm a5000000 bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_0=n-NEbula bootcmd_0=set bootdesc_default 0; saveenv; run bootargs_0; run bootkern_0 bootkern_0=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_9=UPDT bootcmd_9=run bootkern_9 bootkern_9=usb reset; fatload usb 0:1 a4000000 update; autoscr bootcmd=bootmenu bootdesc_items=9 bootmenutimeout=5 bootargs=console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_default=8 ethaddr=5c:0a:5b:d8:13:aa stdin=serial stdout=serial stderr=serial Environment size: 4065/65532 bytes ADB_Box> set ethaddr 5c:0a:5b:d8:13:aa ADB_Box> saveenv Saving Environment to NOR Flash... Unprotecting Flash... . d one Un-Protected 1 sectors Erasing Flash... . done Erased 1 sectors Writing to Flash... .. .. done Protecting Flash... . done Protected 1 sectors ADB_Box> printenv bootdelay=4 baudrate=115200 board=nbox_27 monitor_base=0xA0 000000 monitor_len=0x00040000 monitor_sec=1:0-3 load_addr=0x84000000 unprot=protect off $monitor_sec update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec ipaddr=192.168.0.50 serverip=192.168.0.1 gatewayip=192.168.0.1 gateway=192.168.0.1 netmask=255.255.255.0 boot_ID=Nbox bootdesc_1=Fb-uboot bootcmd_1=run bootkern_1 bootkern_1=protect off all; erase a02e0000 a02fffff; go a0206000 bootdesc_2=ENV2 BSLA+Hdd bootcmd_2=run bootkern_2 bootkern_2=protect off all; erase a0260000 a026ffff; cp.b a02b4000 a0260000 4000; go a0280000 bootdesc_3=USH1 bootcmd_3=set bootdesc_default 3; saveenv; run bootargs_3; run bootkern_3 bootkern_3=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_3=set bootargs console=ttyAS0,115200 root=/dev/sdb1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_4=USB1 bootcmd_4=set bootdesc_default 4; saveenv; run bootargs_4; run bootkern_4 bootkern_4=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_4=set bootargs console=ttyAS0,115200 root=/dev/sda1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_5=USB2 bootcmd_5=set bootdesc_default 5; saveenv; run bootargs_5; run bootkern_5 bootkern_5=usb reset; ext2load usb 0:2 a5000000 /boot/uImage; bootm a5000000 bootargs_5=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_6=USB3 bootcmd_6=set bootdesc_default 6; saveenv; run bootargs_6; run bootkern_6 bootkern_6=usb reset; ext2load usb 0:3 a5000000 /boot/uImage; bootm a5000000 bootargs_6=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_7=n-HYPERION bootcmd_7=set bootdesc_default 7; saveenv; run bootargs_7; run bootkern_7 bootkern_7=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_8=n-Fbox bootcmd_8=set bootdesc_default 8; saveenv; run bootargs_8; run bootkern_8 bootkern_8=nand read.i 0xa5000000 0x3c00000 0x300000; bootm a5000000 bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_0=n-NEbula bootcmd_0=set bootdesc_default 0; saveenv; run bootargs_0; run bootkern_0 bootkern_0=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_9=UPDT bootcmd_9=run bootkern_9 bootkern_9=usb reset; fatload usb 0:1 a4000000 update; autoscr bootcmd=bootmenu bootdesc_items=9 bootmenutimeout=5 bootargs=console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_default=8 stdin=serial stdout=serial stderr=serial ethaddr=5c:0a:5b:d8:13:aa Environment size: 4065/65532 bytes ADB_Box> Quote Link to comment Share on other sites More sharing options...
Guest j00zek Posted September 22, 2014 Share Posted September 22, 2014 printenv przed i po komendach, wygląda na to ze nic nie zmieniają.... ADB_Box> printenv bootdelay=4 baudrate=115200 board=nbox_27 monitor_base=0xA0000000 monitor_len=0x00040000 monitor_sec=1:0-3 load_addr=0x84000000 unprot=protect off $monitor_sec update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec ipaddr=192.168.0.50 serverip=192.168.0.1 gatewayip=192.168.0.1 gateway=192.168.0.1 netmask=255.255.255.0 boot_ID=Nbox bootdesc_1=Fb-uboot bootcmd_1=run bootkern_1 bootkern_1=protect off all; erase a02e0000 a02fffff; go a0206000 bootdesc_2=ENV2 BSLA+Hdd bootcmd_2=run bootkern_2 bootkern_2=protect off all; erase a0260000 a026ffff; cp.b a02b4000 a0260000 4000; go a0280000 bootdesc_3=USH1 bootcmd_3=set bootdesc_default 3; saveenv; run bootargs_3; run bootkern_3 bootkern_3=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_3=set bootargs console=ttyAS0,115200 root=/dev/sdb1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_4=USB1 bootcmd_4=set bootdesc_default 4; saveenv; run bootargs_4; run bootkern_4 bootkern_4=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_4=set bootargs console=ttyAS0,115200 root=/dev/sda1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_5=USB2 bootcmd_5=set bootdesc_default 5; saveenv; run bootargs_5; run bootkern_5 bootkern_5=usb reset; ext2load usb 0:2 a5000000 /boot/uImage; bootm a5000000 bootargs_5=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_6=USB3 bootcmd_6=set bootdesc_default 6; saveenv; run bootargs_6; run bootkern_6 bootkern_6=usb reset; ext2load usb 0:3 a5000000 /boot/uImage; bootm a5000000 bootargs_6=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_7=n-HYPERION bootcmd_7=set bootdesc_default 7; saveenv; run bootargs_7; run bootkern_7 bootkern_7=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_8=n-Fbox bootcmd_8=set bootdesc_default 8; saveenv; run bootargs_8; run bootkern_8 bootkern_8=nand read.i 0xa5000000 0x3c00000 0x300000; bootm a5000000 bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_0=n-NEbula bootcmd_0=set bootdesc_default 0; saveenv; run bootargs_0; run bootkern_0 bootkern_0=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_9=UPDT bootcmd_9=run bootkern_9 bootkern_9=usb reset; fatload usb 0:1 a4000000 update; autoscr bootcmd=bootmenu bootdesc_items=9 bootmenutimeout=5 bootargs=console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_default=8 ethaddr=5c:0a:5b:d8:13:aa stdin=serial stdout=serial stderr=serial Environment size: 4065/65532 bytes ADB_Box> set ethaddr 5c:0a:5b:d8:13:aa ADB_Box> saveenv Saving Environment to NOR Flash... Unprotecting Flash... . d one Un-Protected 1 sectors Erasing Flash... . done Erased 1 sectors Writing to Flash... .. .. done Protecting Flash... . done Protected 1 sectors ADB_Box> printenv bootdelay=4 baudrate=115200 board=nbox_27 monitor_base=0xA0 000000 monitor_len=0x00040000 monitor_sec=1:0-3 load_addr=0x84000000 unprot=protect off $monitor_sec update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec ipaddr=192.168.0.50 serverip=192.168.0.1 gatewayip=192.168.0.1 gateway=192.168.0.1 netmask=255.255.255.0 boot_ID=Nbox bootdesc_1=Fb-uboot bootcmd_1=run bootkern_1 bootkern_1=protect off all; erase a02e0000 a02fffff; go a0206000 bootdesc_2=ENV2 BSLA+Hdd bootcmd_2=run bootkern_2 bootkern_2=protect off all; erase a0260000 a026ffff; cp.b a02b4000 a0260000 4000; go a0280000 bootdesc_3=USH1 bootcmd_3=set bootdesc_default 3; saveenv; run bootargs_3; run bootkern_3 bootkern_3=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_3=set bootargs console=ttyAS0,115200 root=/dev/sdb1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_4=USB1 bootcmd_4=set bootdesc_default 4; saveenv; run bootargs_4; run bootkern_4 bootkern_4=usb reset; ext2load usb 0:1 a5000000 /boot/uImage; bootm a5000000 bootargs_4=set bootargs console=ttyAS0,115200 root=/dev/sda1 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_5=USB2 bootcmd_5=set bootdesc_default 5; saveenv; run bootargs_5; run bootkern_5 bootkern_5=usb reset; ext2load usb 0:2 a5000000 /boot/uImage; bootm a5000000 bootargs_5=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_6=USB3 bootcmd_6=set bootdesc_default 6; saveenv; run bootargs_6; run bootkern_6 bootkern_6=usb reset; ext2load usb 0:3 a5000000 /boot/uImage; bootm a5000000 bootargs_6=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_7=n-HYPERION bootcmd_7=set bootdesc_default 7; saveenv; run bootargs_7; run bootkern_7 bootkern_7=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_8=n-Fbox bootcmd_8=set bootdesc_default 8; saveenv; run bootargs_8; run bootkern_8 bootkern_8=nand read.i 0xa5000000 0x3c00000 0x300000; bootm a5000000 bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_0=n-NEbula bootcmd_0=set bootdesc_default 0; saveenv; run bootargs_0; run bootkern_0 bootkern_0=nand read.i 0xa5000000 0x0 0x300000; bootm a5000000 bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_9=UPDT bootcmd_9=run bootkern_9 bootkern_9=usb reset; fatload usb 0:1 a4000000 update; autoscr bootcmd=bootmenu bootdesc_items=9 bootmenutimeout=5 bootargs=console=ttyAS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit bootdesc_default=8 stdin=serial stdout=serial stderr=serial ethaddr=5c:0a:5b:d8:13:aa Environment size: 4065/65532 bytes ADB_Box> Tak myślałem. :) Zmiana ethaddr nic Ci nie da, musisz zmienić jego w innym miejscu. Załóżmy, że Twój system uruchamia się z flasha. Więc musisz zmienić to co na czerwono. "bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:00:03:91:12:10:11 init=/bin/devinit" Quote Link to comment Share on other sites More sharing options...
Guest dar3kg Posted September 22, 2014 Share Posted September 22, 2014 czyli polecenie powinno wyglądać tak? set bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:<nowy_mac> init=/bin/devinit saveenv Quote Link to comment Share on other sites More sharing options...
Guest j00zek Posted September 22, 2014 Share Posted September 22, 2014 czyli polecenie powinno wygladac tak? set bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:<nowy_mac> init=/bin/devinit saveenv Prawie, Powinno być tak: set bootargs_0 'set bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.0.50:192.168.0.1:192.168.0.1:255.255.255.0:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 nwhwconf=device:eth0,hwaddr:<nowy_mac> init=/bin/devinit' Oczywiśice, jeśli chcesz przy starcie flash-a, przy innym musisz wybrać inne bootargs Quote Link to comment Share on other sites More sharing options...
Guest Kenveloo Posted February 18, 2015 Share Posted February 18, 2015 jak sprawdzić jaki mam mac -image na pendrive Quote Link to comment Share on other sites More sharing options...
tux Posted February 18, 2015 Share Posted February 18, 2015 ifconfig? Quote Link to comment Share on other sites More sharing options...
Guest fosfik Posted September 12, 2017 Share Posted September 12, 2017 Nie chciałem tworzyć nowego tematu bo w sumie chodzi o zmianę mac. Proszę o informację jak zmienić MAC eth0 (posiadam 2 tunery w sieci gdzie muszę przypisać im statyczne ip w routerze po MAC a niestety 2x graterlia 2x ten sam MAC ;/) eth0 Link encap:Ethernet HWaddr 00:01:02:03:04:05 inet addr:10.0.0.25 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:184127 errors:0 dropped:0 overruns:0 frame:0 TX packets:85664 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12962556 (12.3 MiB) TX bytes:9559156 (9.1 MiB) Interrupt:5 DMA chan:ff lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:264 (264.0 B) TX bytes:264 (264.0 B) Quote Link to comment Share on other sites More sharing options...
tux Posted September 12, 2017 Share Posted September 12, 2017 fosfik[/member] Czy może FAQ dla SH4 zdematerializowało się? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.