Kategoriarkiv: Linux

Mode switching between layouts

As most danish hackers have discovered, DK keyboard layout really sucks when it comes to programming/codehacking. But running entirely using US keyboard layout doesn’t work either, because you need to write the Danish special characters, æ, ø, and å. There … Læs resten

Udgivet i Knowledge Base, Linux, Old Base, Workstation | Skriv en kommentar

TCP/IP and tcpdump Guide

Pocket Reference Guide: http://base.fujang.dk/files/black/tcpip.pdf Guide to IP Layer Network Administration with Linux: http://base.fujang.dk/files/black/linux-ip.html Etheral: an alternate packet sniffer Download: http://www.ethereal.com/ User guide: http://www.ethereal.com/docs/user-guide/

Udgivet i Knowledge Base, Links, Linux, Networking, Old Base | Skriv en kommentar

Remote CVS access

first check if the file ~/.cvspass exists and is readable else create it with: touch ~/.cvspass start the session by loggin in: cvs -d :pserser:user@server:$CVSROOT login where: pserver is the connection method. pserver is the most used user is your … Læs resten

Udgivet i FreeBSD, Knowledge Base, Linux, Windows, Workstation | Skriv en kommentar

Linux IPv6 opsætning

Noterne er baseret på følgende netværks konfiguration: Public IPv4 IP: 80.199.18.5 Router IPv6 IP: 3ffe:80ee:603::1/128 Klient IPv6 IP: 3ffe:80ee:603::2 IPv4 IP på tunnel endpoint i .dk: 62.61.157.209 Klient opsætning: På klienterne skal følgende indskrives i et af startscriptene: modprobe ipv6 … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Rsync synkronization of files trough ssh

peanut# rsync -ave ssh root@unifix.org:/www/base.fujang.dk . root@unifix.org’s password: receiving file list … done base.fujang.dk/ base.fujang.dk/.ssh/ base.fujang.dk/cgi-bin/ Synkronizes “.” with “/www/base.fujang.dk” on unifix.org , read as the user root, you can prevent typing password by using keyfiles for furter instructions see … Læs resten

Udgivet i FreeBSD, Knowledge Base, Linux, Old Base | Skriv en kommentar

.htaccess password protection

The htaccess file: AuthName “– Clasified area –” AuthType Basic AuthUserFile /www/htpasswd require user rip rap rup To initialize the passwd file: , file must be outside wwwroot root@chilibeans:/root# htpasswd -c /www/htpasswd mike New password: Re-type new password: Adding password … Læs resten

Udgivet i Apache, FreeBSD, Knowledge Base, Lamp, Linux, Old Base | Skriv en kommentar

check open ports on Linux with Netstat

If you for some reason need to find out, what program uses a specific port use this cmd: netstat -p -l –numeric-ports

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Indstillinger i Mozilla Firebird

Here’s some tips: more can be found at http://texturizer.net/firebird/tips.html Smooth Scrolling Mozilla Firebird 0.6 has a Smooth Scrolling feature enabled by default. Later nightly builds have the feature disabled. To enable or disable this feature, add the following code to … Læs resten

Udgivet i Knowledge Base, Linux, Old Base, Windows | Skriv en kommentar

mIRC like perform in Xchat (multiple connect commands)

Instead of being limited to one connect command you can make af file with all the commands you need in. In “Connect Command” you can use “/load -e /path/to/file” with all the things needed. Make individual files for each network … Læs resten

Udgivet i FreeBSD, IRC, Knowledge Base, Linux, Old Base | Skriv en kommentar

Change NIC MAC in linux

root@spacecamp:~# ifconfig eth2 down root@spacecamp:~# ifconfig eth2 hw ether aa:aa:aa:aa:aa:aa root@spacecamp:~# ifconfig eth2 up root@spacecamp:~# ifconfig eth2 eth2 Link encap:Ethernet HWaddr AA:AA:AA:AA:AA:AA inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1275 … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar