export DBG=usr1,usr2
tinyviz -gui -nosf -noconsole -run "/opt/tinyos-1.x/apps/cdShortestPath__copie20-sep/build/pc/main.exe -rf=/opt/tinyos-1.x/apps/topology.nss -b=0" 40
Until now, I was trying to keep my Linux (and other related) notes on a static web page, and using other local software on my PC. Finally, I decided to create this blog to make easier for me the task of updating my notes from any place and to have quick access to them.
miércoles, 4 de junio de 2014
martes, 6 de mayo de 2014
Commands to install wine (i386)
dpkg --add-architecture i386
aptitude update
aptitude install wine:i386lunes, 31 de marzo de 2014
miércoles, 10 de abril de 2013
Typical problems with printers and scanners
- "The system printing service doesn't seem to be available" message.
If you see this message make sure that you havecupsinstalled and that it is properly running.. - "No scanners detected".
Sometimes you can have some problems to detect scanners from software such as xsane. If so, try to execute xsane as sudo. If you can detect your scanner as super user, the it is probably that you have no permissions as a simple user. To fix it, uselsusbto determine the device of your scanner, navigate to/dev/bus/usb/$BUS/$DEVICEand check the permissions of that device, i.e. what group it belongs to. Try to give your user the necessary groups for it, or if that fails, chmod the device (as suggested in the thread). (from: http://superuser.com/questions/104184/xsane-is-unable-to-detect-scanner-device). - Related commands:
lsusb,sane-find-scanner,scanimage -L
martes, 9 de abril de 2013
Notes for network configuration
- (Examples with eth0)
- Examples of network configuration files.
- In /etc/network/interfaces
- With DHCP
allow-hotplug eth0
iface eth0 inet dhcp
- With static IP
address <IP ADDRESS>
netmask <SUBNET MASK>
network <NETWORK ADDRESS>
broadcast <BROADCAST ADDRESS>
gateway <GATEWAY ADDRESS>
- DNS servers. In /etc/resolv.conf
- Adding default address to local route table. Enter: sudo route add default gw <GATEWAY ADDRESS>
- Restart eth0
- ifdown eth0
- ifup eth0
Notes to configure SSH server...
- Install openssh-server
- To stop ssh server, enter: sudo /etc/init.d/ssh stop
- To start ssh server, enter: sudo /etc/init.d/ssh start
- To restart ssh server, enter: sudo /etc/init.d/ssh restart
- To change the port, modify the /etc/ssh/sshd_config file
- To check ssh status, type:
/etc/init.d/ssh status
domingo, 25 de noviembre de 2012
Restart Gnome 3 when blocked
Type ctrl+alt+[a number in (1-6)] in order to enter in text mode.
Open your user sesion (with your username an password).
Type:
and
in order to stop and restart your gdm3 server.
Open your user sesion (with your username an password).
Type:
sudo /etc/init.d/gdm3 stop
and
sudo /etc/init.d/gdm3 start
in order to stop and restart your gdm3 server.
Suscribirse a:
Entradas (Atom)
