Weblogs for Grimnar
eth1 Link encap:Ethernet HWaddr 00:0c:46:28:18:18
inet addr:my.ip Bcast:other.ip Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61017346 errors:54844 dropped:0 overruns:0 frame:54844
TX packets:10923860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3164354708 (2.9 GiB) TX bytes:1693136419 (1.5 GiB)
Now this is the ethernet card that gives me the internets. And its very noticeble during streaming and gaming. Very frustrating. This is a 6000/4000 DSL service so I should be able to stream small internett videos without any problems. And according to lspci, this is the hardware installed: Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)So what is wrong here? Is it the network cable? The modem? Or is it some driver problems? How can I check the driver / Update it? (Linux 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux @ Intel P4 2.8 HT, do I even have the correct kernel???)
02:00.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
Anyways. I've got 2 disk connected /dev/sdb(1) and /dev/sdc(1) and currently I have ext3 fs on them. Last time I booted I did play with some settings during boot, but I'm not really sure it that really is working.
But the thing I'm really interested in, is to how do I use the mdadm command to build a raid 1 array. The disks are meant to be one huge partition, not divided up into small partitions. (so the howtos on this site really got me confused).
So to sum it up. How do I make /dev/sdb1 and /dev/sdc1 into /dev/md0? (?) and do I need some sort of swap on the disks?
I'm scared and confused with this raid stuff!:)
(Some of you might have seen some post on other forums by me regarding this issue)
Edit: google says this controller is software based.
Anyone know of any good providers?
Does not have to be free, but as close to free as possible is good. I have a server at home wich I can use for secondary dns providing, but I suspect my ISP dont accept that:)
-Andreas.
02:02.0 Network controller: Atheros Communications, Inc. Unknown device 0023 (rev 01)dmesg:
ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) wlan: 0.8.4.2 (0.9.3.2) ath_pci: 0.9.4.5 (0.9.3.2) ath_pci: driver unloaded ath_pci: no version for "struct_module" found: kernel tainted. ath_pci: no version magic, tainting kernel. ath_pci: 0.9.4.5 (0.9.3.2)iwconfig:
lo no wireless extensions. eth0 no wireless extensions.uname -a
Linux debian 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 GNU/LinuNow, what can I do about this? We tried a few weeks ago using a Broadcom card using ndiswrapper and hopefully we will never try that again, that was a real pain to configure, and finally not work anyway. So we re-installed debian and bought a new card in hope of a better solution. And so far that has not happend:/ -Andreas
Installing Debian went like a dream, all up to the point when I was about to install apache.
Which one to install? 1.3 og 2.2.3?
Of course, I installed both. The confusion was total. Wich php to go with this? php4 or php5?
I stopped the 1.3-server and figured I should take a step into the future and run apache 2.2.3 and learn how that works.
But holy sh** was I in for surprise. Now, I been working with apache 1.3 for about 4 years. But I cannot for the life of me get this to work. What the hell is up with this?
Why is there several folders such as sites-enabled and sites-available? Wich one should I edit to make them work? (yeah, I runned the a2ensite)
Perhaps apache2 is really made to run from a web based program?
I finally found the a2enmod php4/php5 - and thought that would make php work on my sites, but of course I was wrong. No I get a download popup asking me to download x-httpd-php. That makes it clear that php is not working.
I´ve been googling like a fanatic the last couple of days to find some starting guides and howto´s - but nothing.
1. I got a mainpage with no php on it right now, just index.html just to get it working. But I still get the php error. Even I checked everywhere and the DocumentRoot points to a folder wich have NO *.php in it.
2. Should I go back to apache 1.3? The sites I´m serving is really only galleries and light stuff like that. Is there a need for apache2? Or should I be prepared for the future and stick with apache2 and learn it once and for all?
Every time I do reboot, a random disk goes away. I got 3 mounted pluss my /dev/hda wich has my system on. Yesterday /dev/hdb was gone and now /dev/hdf is gone. But /dev/hdb is back in buisness. My setup has worked great for about 4 years now. Of course I have done some reinstall and such but it has been working flawlessy.
Samba is strange, cannot log in. proftpd gives me the same. (All failed when trying to start during boot). When a local user is trying to use screen, all I/he/she gets is: Directory '/var/run/screen' must have mode 777.
uh? So, what the hell is going on?
In my /var/log/samba there is a bunch of logs wich I never seen before. Very strange.
log.59.95.174.72 log.85.220.29.22 log.smbd.7.gz
log.59.95.179.66 log.85.220.30.225 log.softs
log.59.95.25.148 log.85.220.32.100 log.solberg
log.59.95.28.63 log.85.220.33.163 log.spacemachine
log.59.96.155.103 log.85.220.33.53 log.srv2000
log.60.161.14.59 log.85.220.36.210 log.srvvb
log.60.21.34.158 log.85.220.36.223 log.station4
log.60.237.165.105 log.85.220.42.66 log.sten
log.60.41.152.68 log.85.220.44.68 log.stiga
log.60.50.63.182 log.85.220.47.155 log.stokkes
On my mac Im used to run a app called onyx, wich will fix all the permissions on the system. Is there any program that will do the same on debian?
boot up script.
ifconfig eth2 192.168.0.1 echo 1 > /proc/sys/net/ipv4/ip_forward iptables -F iptables -F -t nat iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE mii-tool -F 100baseTx-FD eth2uname -a
Linux gwdebian 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i686 GNU/Linuxifconfig eth2
gwdebian:/etc/proftpd# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:04:61:61:2A:35
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:61ff:fe61:2a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2429482 errors:0 dropped:27 overruns:0 frame:7665
TX packets:1863736 errors:1 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:227068955 (216.5 MiB) TX bytes:2527109377 (2.3 GiB)
Interrupt:201 Base address:0xec00
Top
1 root 15 0 1940 644 548 S 0.0 0.1 0:01.46 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 10 -5 0 0 0 S 0.0 0.0 0:03.03 events/0
4 root 19 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.03 kblockd/0
9 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
93 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
135 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
Firewall: None; Other limiters: none; This is really a fresh install. Only Gnome 2.18 installed as the culprit, but all gnome* as been stopped. No dns-issues in proftpd.conf, and the "speed hack" in samba.conf is in use. Passive/active transfers both been tried out in my ftp client. Still no dice. Please help me solve this. Someone. (formated in html text, preview showed ok format)
Just having a strange problem. This week I have to reboot my server once a day to
get my normal speeds. I transfer a lot of images from my laptop to my server. This usually goes with the speed of about 3000kbs (wireless). But hours after reboot this goes down to 30 kbs. What the hell? Both samba and proftpd gives me these speeds. What can cause this problems?
So I figured my MTA is working, but my imap/pop3 server are screwed up. IE Courier is damaged. Now I use vexim to add users and vexim comes with some changes to /etc/courier/imapd - pop3d. All been detailed at the homepage.
Now im pretty sure I done the right modifications to imapd and pop3d. But I still cannot login and get mail. What could be wrong? /var/log/mail.log
Jan 22 14:47:34 servar couriertcpd: LOGIN: ip=[::ffff:82.221.100.31], command=LOGIN Jan 22 14:47:34 servar couriertcpd: LOGIN: ip=[::ffff:82.221.100.31], username=postmaster@spbk.no Jan 22 14:47:34 servar couriertcpd: LOGIN: ip=[::ffff:82.221.100.31], password=somepasswd Jan 22 14:47:34 servar courierpop3login: LOGIN FAILED, user=user@domain.net, ip=[::ffff:82.221.100.31]/etc/courier/pop3d
IDFILE=/var/run/courier/pop3d.pid MAXDAEMONS=40 MAXPERIP=4 #AUTHMODULES="authdaemon" AUTHMODULES="authmysql" AUTHMODULES_ORIG="" DEBUG_LOGIN=2 #POP3AUTH="LOGIN CRAM-MD5 CRAM-SHA1 MD5" POP3AUTH="md5" POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" POP3AUTH_TLS="" POP3AUTH_TLS_ORIG="LOGIN PLAIN" PORT=110 ADDRESS=0 TCPDOPTS="-nodnslookup -noidentlookup" POP3DSTART=YES MAILDIRPATH=Maildirvexim uses mysql to authenticate users. pop3d is altered to do this. What can be wrong? I tried the vexim maillists but no response. :/