User:Ayanoa
ayanoa - juliane (juliane at bruxxel.org )
[1] bind the /dev/net/tun in the uml ?
**
WS http://wolfplex.hackerspaces.be/wiki/Hosting_Project
Cisco workshop Tuesday83 memo for beginner (me)
- to connect to the Cisco router console (written con or painted in light blue :-) )
- HW rollover cable + serial port
- software "serial program" like minicom, cutecom ... (or hyperterminal in w$)
comment : it was easier to borrow a converter usb-serial than to launch an old machine with a serial port. so I used my laptop
- software
you configure minicom with
- $ minicom -s
=> choose device /dev/ttyUSB0 - and the settings for cisco : 9600 bauds - 8bits - no parity - no control flow [ help menu with minicom : CTRL A Z ]
- Cisco router password recovery
you need to break the normal sequence of boot and enter in ROMmon (Rom monitor) : you have to press CTRL + BREAK on your keyboard just after powering the cisco, but with a laptop it was CTRL+FN+BREAK and it doesn't work (at least with mine)
fortunately in minicom you have "Send a break : F " so I just press F when I put on power on cisco
then you change the register to bypass the config file (startup-config file with all the password and stuff) ROMmon > confreg 0x2142
and you reset or power off/on the router
It reboots without configuration, when asking, don't enter in setup mode : answer no.
- >
you type enable and you are in privileged (admin) mode without password. "normal way" : you copy the startup-config to the running config, in mode global config you change the password (sometimes you have several passwords to change : privileged console, vty access ....let's not discuss this) you copy the changed running config to startup config you change the register in configuration mode so the next boot it'll follow the usual sequence and read a startup-config file ROUTER #conf t ROUTER(config)# config-register 0x2102
but here it was easier - we have to erase the old startup-config for confidentiality reason so (in a mode ?) ROUTER# delete nvram:startup-config => ask confirmation and no more startup-config, but a default minimal one packed somewhere in ROM )
REMINDER ** REMINDER **REMINDER ** REMINDER **REMINDER ** REMINDER **
kernel workshop LinuxKernelWorkshop
- langage C
- jeter un coup d'oeil sur le programme "serial test" com.c [2]
- uml et serial port : http://user-mode-linux.sourceforge.net/old/input.html
- serial connector - faire un vrai, OK hsb
- map des pins : http://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm : minimum 3 fils à connecter
- complet http://www.aurelienr.com/electronique/nullmodem.htm#db9db9
- http://www.instructables.com/id/Track-How-Far-Your-Hamster-Runs/step7/Solder-the-Serial-Port-Connector/
- how to solder : http://www.aaroncake.net/electronics/solder.htm
- fr : http://www.sonelec-musique.com/electronique_bases_tutoriel_soudure.html
liens
- processes, tasks, threads http://www.informit.com/articles/article.aspx?p=1610334&seqNum=4