It was working fine until I freaking reboot it ... >
I checked with lsmod and insmod. Both shows that my eepro100 card modules are there but NOT loaded. I have two NIC cards and only one works ( half way ).
Eth0 not work at all ( that's eepro100 card )
eth1 got assigned to 192.168.20.8 eventhough I changed my assignemnt of IP address in /etc/network.interfaces file to something else ( such as 192.168.20.40 ).
If I tried to load with ifup eth0 command, it errors out with "can't read /etc/network/interfaces file". If I ifdown eth1, the same error happens.
The interfaces file shows that it's owned by root and it had -rw-r--r-- permission.
So my questions are
1. What cause interfaces file not to be able to read by ifup/ifdown command?
2. Where else is assigning IP addresses besides interfaces file?
3. If I specify eth1 to use 192.168.20.40, why it was still assigned IP address 192.168.20.8 ( the old address ) ??
Nailed the problem down .....
ifup/ifdown can't read the /etc/network/interfaces file because it had wrong option configured. I guess Debian now use the options separated by space instead of ":" for IP address and Mask and stuff like that. Once I removed it, it was working fine.
IP address getting the wrong IP is because I was starting up with script in /etc/init.d/ instead of using interfaces file ... It was my own stupid mistake that I've forgotten that I have a script for it ... :
Now, it's all good .... 8)