View previous topic :: View next topic |
Author |
Message |
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Wed Oct 13, 2010 4:37 pm Post subject: |
|
|
Server booted but now it dosen't show up on my network and I can't log into it. |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Wed Oct 13, 2010 4:43 pm Post subject: |
|
|
ifconfig -a tells me that eth1 and 2 are there but not active and there is no eth0. |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Wed Oct 13, 2010 5:45 pm Post subject: |
|
|
I am assuming you were able to login.
at command line type 'ifconfig eth1 'ipaddress' up
do the same for eth2.
One other note: in 'etc/rc.d/rc.inet1.conf' make sure eth0 lines have nothing and that eth1&2 do not have 'yes' after dhcp'.
also to activate cards you can run 'netconfig-lcd' and fill out data. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 13, 2010 6:03 pm Post subject: |
|
|
What's the output of "cat /etc/udev/rules.d/70-persistent-net.rules"?
You can delete lines that describe ethernet adapters that don't exist and alter the name (eth1, eth2 e.t.c) of the adapter you want to show up as eth1 or eth2.
Assuming that your network cards have link (RJ45 connected to NIC) you just need to edit rc.inet1.conf appropriate with your network info.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Thu Oct 14, 2010 7:27 pm Post subject: |
|
|
gerasimos_h wrote: | What's the output of "cat /etc/udev/rules.d/70-persistent-net.rules"?
You can delete lines that describe ethernet adapters that don't exist and alter the name (eth1, eth2 e.t.c) of the adapter you want to show up as eth1 or eth2.
Assuming that your network cards have link (RJ45 connected to NIC) you just need to edit rc.inet1.conf appropriate with your network info.
gerasimos_h |
ok did the cat /etc* like you said above and here is what I got:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", (which looks bad to me) ATTR{address}=="00:e0:52:ab:d1:30", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME=="eth2" |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Thu Oct 14, 2010 7:52 pm Post subject: vtiger / onenote |
|
|
As long as I'm solving this problem I might as well ask you if there is any secure database management system I could get like vtiger or Microsoft onenote that I could install on this sms server or a diffrent server to provide a central database and webapp for a Church to use to log people and clothing at a clothing bank, people and food at a food bank, and confidential church info on different people in crysis situations.
The idea would be to upload a picture, write some info, and keep track of people cared for.
I also have a Yahoo small business server that supposedly can run PHP and other code on it. I don't know about it's security though. |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Fri Oct 15, 2010 2:41 am Post subject: |
|
|
FYI I'm getting vtiger installed on the Yahoo server. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Oct 15, 2010 10:10 am Post subject: |
|
|
So your r8169 is eth2? you only see one ethernet card?
Above
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:52:ab:d1:30", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME=="eth2"
you should see something like
# PCI device 0x10ec:0x8168 (r8169)
Have you plugged your ethernet cards correctly, does bios recognize them?
You could install vtiger on SMS, but on the other hand you should have better bandwidth on the yahoo server, so it was a good choice.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Fri Oct 15, 2010 3:40 pm Post subject: |
|
|
Hi.
I've experienced such issues.
First be sure /etc/rc.d/rc.udev can be executed. (chmod +x /etc/rc.d/rc.udev).
Then, delete the file /etc/udev/rules.d/70-persistent-net.rules. Don't worry it will be generated again after restart.
Restart your system then check if the new /etc/udev/rules.d/70-persistent-net.rules contains references to all your NIC's. If not, here is the problem!
Then, you can follow Gerasimo's advices about asigning eth's.
Good luck! |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Fri Oct 15, 2010 8:51 pm Post subject: |
|
|
gerasimos_h wrote: | So your r8169 is eth2? you only see one ethernet card?
Above
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:52:ab:d1:30", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME=="eth2"
you should see something like
# PCI device 0x10ec:0x8168 (r8169)
Have you plugged your ethernet cards correctly, does bios recognize them?
You could install vtiger on SMS, but on the other hand you should have better bandwidth on the yahoo server, so it was a good choice.
gerasimos_h |
# PCI device 0x10ec:0x8169 (r8169) |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Fri Oct 15, 2010 9:06 pm Post subject: |
|
|
keopp wrote: | Hi.
I've experienced such issues.
First be sure /etc/rc.d/rc.udev can be executed. (chmod +x /etc/rc.d/rc.udev).
Then, delete the file /etc/udev/rules.d/70-persistent-net.rules. Don't worry it will be generated again after restart.
Restart your system then check if the new /etc/udev/rules.d/70-persistent-net.rules contains references to all your NIC's. If not, here is the problem!
Then, you can follow Gerasimo's advices about asigning eth's.
Good luck! |
Ok booting back up...
Well now I'm screwed. I can't get it to show up on my router / DSL Modem. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Oct 15, 2010 9:16 pm Post subject: |
|
|
Depending on the eth (eth0) info in /etc/udev/rules.d/70-persistent-net.rules edit the appropriate eth entry in /etc/rc.d/rc.inet1.conf to get a static IP address, or run "dhcpcd eth0" to get an IP from your router.
If you have static IP configured and not having internet add the DNS servers or your router in /etc/resolv.conf.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Sat Oct 16, 2010 8:53 pm Post subject: |
|
|
gerasimos_h wrote: | Depending on the eth (eth0) info in /etc/udev/rules.d/70-persistent-net.rules edit the appropriate eth entry in /etc/rc.d/rc.inet1.conf to get a static IP address, or run "dhcpcd eth0" to get an IP from your router.
If you have static IP configured and not having internet add the DNS servers or your router in /etc/resolv.conf.
gerasimos_h |
eth0 does nothing but eth1 works fine. |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Tue Nov 09, 2010 6:21 am Post subject: proxy |
|
|
for now I just want to get Dansguardian set up as a proxy server. I know how to do this with the caching server. Is the port the same for both? There is no where to set it in Dansguardian. |
|
Back to top |
|
JULinux Member
Joined: 30 Sep 2010 Posts: 30 Location: Pomeroy WA United States
|
Posted: Tue Nov 09, 2010 7:41 am Post subject: Dansguardian proxy |
|
|
Ok Dansguardian's proxy isn't working. I went into Firefox for a different browser to test on.
HTTP Proxy 192.168.0.158 Port 3128
Checked box Use this proxy server for all protocols.
Also just to get the server working I had to manually run dhcpcd eth1 to get it to work at all.
I think the caching server is working but I can't tell. I looked at squid and it says it's up but it also says:
Your Squid cache directory /var/log/squid/cache has not been initialized.This must be done before Squid can be run
I try to initialize it. It even says it does but it always says it needs to.
I guess I need to go into the terminal and rm everything in /var/log/squid/cache ??? |
|
Back to top |
|
|