Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Caching Server / Porn Filter Goto page Previous  1, 2, 3, 4  Next
View previous topic :: View next topic  
Author Message
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Wed Oct 13, 2010 4:37 pm    Post subject: Reply with quote

Server booted but now it dosen't show up on my network and I can't log into it.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Wed Oct 13, 2010 4:43 pm    Post subject: Reply with quote

ifconfig -a tells me that eth1 and 2 are there but not active and there is no eth0.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Oct 13, 2010 5:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Oct 13, 2010 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Thu Oct 14, 2010 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Thu Oct 14, 2010 7:52 pm    Post subject: vtiger / onenote Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Fri Oct 15, 2010 2:41 am    Post subject: Reply with quote

FYI I'm getting vtiger installed on the Yahoo server.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Oct 15, 2010 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Fri Oct 15, 2010 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Fri Oct 15, 2010 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Fri Oct 15, 2010 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Oct 15, 2010 9:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Sat Oct 16, 2010 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Tue Nov 09, 2010 6:21 am    Post subject: proxy Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
JULinux
Member


Joined: 30 Sep 2010
Posts: 30
Location: Pomeroy WA United States

PostPosted: Tue Nov 09, 2010 7:41 am    Post subject: Dansguardian proxy Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional