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
SMS AND NFS SERVER Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
View previous topic :: View next topic  
Author Message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Fri Nov 06, 2009 7:43 am    Post subject: Reply with quote

It has an /etc/rc.d/rc.ddclient script, make it executable and run it.
You should setup your aDSL router to do that though it's much more quicker.
192.168.x.x address are the local addresses you should use your external address.
Point your browser to 192.168.1.1 to see it, and maybe setup your dyndns client.

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
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 8:44 am    Post subject: Reply with quote

ok i was able to also setup my router with dyndns.org account but there is no differences beetwen router and server am I right |? i only need to update IP on dyndns.org webpage right ?

so i am able right now to access from internet to my router (hurra)

but i dont know how to get to my server instead of router ??

do i need to redirect some ports on router ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Fri Nov 06, 2009 8:57 am    Post subject: Reply with quote

You need to port forward, some routers call it application or game sharing or virtualserver e.t.c.
Port 80 it's the webserver
port 81 for wtorrent
port 22 for SSH access
port 21 for ftp
and of course the range of ports rtorrent will use.

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
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 8:59 am    Post subject: Reply with quote

now i am able to connect to a webmin !!!!!

so i think i am almost at the end, just need to configure tightvnc but for now i dont know how
Back to top
View user's profile Send private message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 9:04 am    Post subject: Reply with quote

i putted my ip server into DMZ in router and didnt need to forward any port, but vnc not working

now i checked the webmin on 10000 and wtorrent on 81
Back to top
View user's profile Send private message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 9:10 am    Post subject: Reply with quote

putty is not working on 22
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Fri Nov 06, 2009 1:59 pm    Post subject: Reply with quote

You need to port forward each port, since ports like 80,22,21 are common.

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
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 2:06 pm    Post subject: Reply with quote

so why 81 and 10000 are working with DMZ ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Fri Nov 06, 2009 6:25 pm    Post subject: Reply with quote

What router do you have?
DMZ in aDSL routers are not true DMZ, you need to port forward to bypass the NAT firewall.
ports like 22,21,80 most likely used by the routers them self, that's why DMZ it's not working properly in your situation.

rc.rtorrent rc.vncservers working at boot?

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
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Fri Nov 06, 2009 8:33 pm    Post subject: Reply with quote

vnc and rtorrent dont start after boot but i am now focusing on vnc via internet since i am no rebooting the server recently
Back to top
View user's profile Send private message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Tue Nov 10, 2009 2:05 pm    Post subject: Reply with quote

i only wanted to add that i change from DMZ to real port forwarding on my router and all is working properly, i have access to my server behind DHCP NAT from internet

still cannot start vnc and rtorrent from rc.local when booting

vnc : after boot i nned to clean .X11*** directory otherwise vnc will not run
rtorrent : after boot i need to manually run "etc/rc.d/rc.rtorrent start" to run it

anyway, this distro is the best for non linux experienced user, and has all services "at start" , not needed to add any other features, it has everything

ps. how to add another pci lan card to the server ? my server is near 16 ports switch and i have few empty slots, maybe i can put one or two more lan cards into it and connect to the switch to increase bandwidth to users ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Tue Nov 10, 2009 7:44 pm    Post subject: Reply with quote

For rtorrent have you installed screen package during installation?
When you login through ssh do a "screen --help" and look for error and do a
"/etc/rc.d/rc.rtorrent stop" and a "/etc/rc.d/rc.rtorrent start" and post any errors might output.
Rtorrent should be working at boot. What packages you select during setup?

For bonding you will need the devel series packages for building ifenslave but you can upgrade sms-scripts from here to skip that and follow the instructions at
http://www.howtoforge.com/nic-bonding-on-slackware-12.1

It's simple as doing
Code:
modprobe bonding mode=0 miimon=100
ifconfig bond0 192.168.0.2 netmask 255.255.255.0 up
ifenslave bond0 eth0
ifenslave bond0 eth1


You will need a switch capable of bonding though for actually see a higher speed than the expected.

More info at bonding in kernel source or at
http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt

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
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Wed Nov 11, 2009 11:36 am    Post subject: Reply with quote

there is one thing thats annoying me, when rtorrent is downloading files as administrator, i cannot manage those files over samba due to permissions so i must work on vnc as root

how to force SMS to write files in mnt/ folder with all permisions ?

if i do ls -lsa on mnt/media2/done the files has rwxrwxrwx and still i cannot move it over samba but if i upload some files to this folder i can delete it so only rtorrent makes those files untouchable but still with rwxrwxrwx
Back to top
View user's profile Send private message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Wed Nov 11, 2009 11:44 am    Post subject: Reply with quote

about screen, yes it is installed because i can run it

but the things with errors i really dont know where to look it, they are stored in some folders ?

i'm old dos/win3.11/win95/win98 user/fan so this adventure with linuks is really my "first time", without wincmd i'm blind Smile
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Nov 11, 2009 7:05 pm    Post subject: Reply with quote

I'm talking about errors that printed to stdout (terminal while execute a script or command).

For permissions issue you can run samba as administrator user (guest account = administrator) or any other user, just to be the same user as rtorrent so you will not have that issue.
Another way is to add a shell to user nobody and run rtorrent as user nobody, that is a security hole, although ubuntu and other distros have shell access to user nobody.


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
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, 5, 6, 7  Next
Page 4 of 7

 
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