View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Sep 04, 2007 6:37 pm Post subject: network ip problem |
|
|
After prior posts, I decided to install sms again. Here are my observations and issues:
1. Installer works pretty well. I have two drives in my server and sms wants to make a partion on hda5 and hdb2 both swap. Don't see a way of overriding this.
2. Install finishes and reboots. No ip.
3. I edit /etc/rc.d/rc.inet1.conf and put a static ip in eth1 section.
4. ./rc.inet1 - ifconfig shows ip on eth1 but not able to ping internet.
5. edited /etc/rc./rc.inet1.conf again to be dhcpd and removed fixed ip.
6. ./rc.inet1 again
7. ifconfig shows eth1 with fixed ip (should have been dhcp ip) but still cannot ping internet.
what am I doing wrong. I had this working before, so I am some what perplexed. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Sep 04, 2007 6:47 pm Post subject: |
|
|
There is a bug that was fixed (check project status) in rc.inet1.conf but misplaced by accident... the fixed rc.inet1.conf it's in "/etc/" if you want to use it..
Format the drive/partition with previous SMS installation with the installer and reboot, it's an issue of cfdisk, sometimes needs a restart to update tables, and after reboot reinstall.
Just use dhcpcd eth1 don't edit rc.inet1.conf for that.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Sep 04, 2007 7:27 pm Post subject: |
|
|
thanks.
So, if I wanted a fix ip address, I would edit /etc/rc.inet1.conf eth1?
Or, ifconfig eth1 192.168.0.60?
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Sep 04, 2007 7:50 pm Post subject: |
|
|
Not exactly /etc/rc.inet1.conf shouldn't be there, but /etc/rc.d/rc.inet1.conf, just replace the old one in /etc/rc.d/ with the one in /etc/.
I recommend to edit rc.inet1.conf for fixed IP address and include subnet mask, getaway..
You could use webmin for doing those of course and set your DHCP server if don't have one already (dslrouter). _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Sep 04, 2007 8:23 pm Post subject: |
|
|
okay-got it. I'm really making you earn your money today ...
thanks again |
|
Back to top |
|
tester Junior Member
Joined: 12 Mar 2009 Posts: 2
|
Posted: Thu Mar 12, 2009 1:57 am Post subject: |
|
|
today i install SMS on HDD and i wont to use it as a small WWW serwer. I have the same problem with eth0 (intel82559) is down.There is only one interface . ifconfig eth0 show only working loopbac 127.0.0.1 but interface don't work. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Mar 12, 2009 2:13 am Post subject: |
|
|
Try
modprobe eepro100
ifconfig eth0 up
dhcpcd eth0
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
tester Junior Member
Joined: 12 Mar 2009 Posts: 2
|
Posted: Thu Mar 12, 2009 10:10 am Post subject: |
|
|
I dont want DHCP server i need static ip on eth0. I will try your sugestion when i turn back to home . Thank you |
|
Back to top |
|
|