Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: smer on January 05, 2008, 05:25:38 AM
-
When I installed smeserver, I selected one of the NICs (eth0) as the source for internet. Now, I would like to use an ADSL (ppp0) instead. How can I change it?
-
When I installed smeserver, I selected one of the NICs (eth0) as the source for internet. Now, I would like to use an ADSL (ppp0) instead. How can I change it?
Login as admin and reconfigure your server.
-
Thanks for reply. But, how can I do that. I logged in as root and typed
reconfigure
it told me command not found.
-
Thanks for reply. But, how can I do that. I logged in as root and typed
reconfigure
it told me command not found.
Login as "admin" user, and you can access the reconfiguration menu.
-
Login as "admin" user, and you can access the reconfiguration menu.
and, of course, read the manual ;-)
ciao
Stefano
-
Thanks for reply. But, how can I do that. I logged in as root and typed
reconfigure
it told me command not found.
Please, please, please read what I write as I (and probably all others replying to you as well) try too help you. If I write login as admin I do not mean log in as root.
Perhaps it is worth reading the manual again as this account should be mentioned there as well.
-
Thanks. You are right. I thought you meant root not admin. Now, I am ok. FYI, I read the documentation and could not see where it referes to recofeguring the server.
-
FYI, I read the documentation and could not see where it referes to recofeguring the server.
OK, thanks I added a bug for that: http://bugs.contribs.org/show_bug.cgi?id=3721
-
Thanks for quick reply.
I tried to configure smeserver to use speedtouch dsl modem interface (nas0) or ppp0 as a source of internet, but they are not listed in the list of pre-determind ports. I know that the firewall needs this info to let data to flow in & out of the server. Should I report this as a bug also?
-
Thanks for quick reply.
I tried to configure smeserver to use speedtouch dsl modem interface (nas0) or ppp0 as a source of internet, but they are not listed in the list of pre-determind ports. I know that the firewall needs this info to let data to flow in & out of the server. Should I report this as a bug also?
What do you mean by listed ports and pre-determined ports? Where did you see such a list? If you have been able to setup your speedtouch dsl modem as the second interface everything should be fine.
-
I logged in as admin >> selected item 2 "Configure this server" >>>>>>> "Select external access mode" shows 2 options:
1- Dedicated
2- Dailup
If I select the 1st option it will show ethernet cards and ethernet drivers only which do not apply in my case. If I select 2nd opton. it will show the list of pre-determind ports that I mentioned above.
-
I logged in as admin >> selected item 2 "Configure this server" >>>>>>> "Select external access mode" shows 2 options:
1- Dedicated
2- Dailup
If I select the 1st option it will show ethernet cards and ethernet drivers only which do not apply in my case. If I select 2nd opton. it will show the list of pre-determind ports that I mentioned above.
What kind of SpeedTouch DSL modem is this (modelnumber)? Is it an external or internal interface?
-
speedtocuh 330 red colour USB.
-
No support for USB Modems, unless recent add.
http://forums.contribs.org/index.php?topic=33021.0
-
No support for USB Modems, unless recent add.
http://forums.contribs.org/index.php?topic=33021.0
Nope, it still has not... and I wonder if it will ever be incorporated.
-
I am willing to help the developers in this. I have several types of USB modems. I have the scripts that will get them to work in CentOS (which SMEServer is based on). I can share the scripts and howtos with the team and do the testing. Please, let me know if the developers are interested in incoporating them.
FYI, I was able to use my speedtouch modem to connect to my ISP in SMEServer but do not know how to manage the rest. To get it to connect I installed the following packages:
linux-atm-2.5.0-0.20050118.2.i386.rpm
linux-atm-libs-2.5.0-0.20050118.2.i386.rpm
and used the following scripts:
# /etc/ppp/peers/speedtch
noipdefault
defaultroute
user xxxxx@1024.xxxxx.net
noauth
updetach
usepeerdns
plugin rp-pppoe.so
nas0
### You may need to uncomment these
### options to connect with some ISP's.
### They disable compression.
# noaccomp
# nobsdcomp
# nodeflate
# nopcomp
# noccp
# novj
### If the firmware loads and pppd won't
### connect uncomment this option to make
### pppd be more verbose in the system log
# debug
### For more details (and more options)
### Read man pppd
and
#!/bin/bash
#pppoe DSL connection dial file
modprobe ppp_generic
modprobe pppoatm
modprobe br2684
count=0
while [[ $((count++)) -lt 40 ]]
do
sync=$(dmesg | grep "ADSL line is up" )
if [ ! -z "$sync" ]
then
br2684ctl -b -c 0 -a vci.vpi
sleep 3
ifconfig nas0 192.168.2.1 netmask 255.255.255.0 up
sleep 10
pppd call speedtch
exit 0
fi
sleep 1
done
I edited pap-secrets and chap-secrets also. I have to do this step everytime I reconfigure the system.
After connecting I got ppp0 in addition to nas0 (192.168.2.1 netmask 255.255.255.0) which was created before dialing.
-
I am willing to help the developers in this. I have several types of USB modems. I have the scripts that will get them to work in CentOS (which SMEServer is based on). I can share the scripts and howtos with the team and do the testing. Please, let me know if the developers are interested in incoporating them.
I doubt if they are willing, but the best way to find out is to add it as a New Feature Request in the bugtracker, perhaps including your scripts as attachements as they are always more willing to implement stuff when they do not need to reinvent the wheel :-)
-
Perhaps if it is a "contrib" or a how to...
-
I think it will be a useless howto at this stage since the user will be able to connect to ISP but will not be able to use the new interface. I will keep trying to get SMEServer to recognize the new interface, if I succeed, I will provide a complete howto. I hope the developers at least add another list for the interfaces includes: ppp0, ppp1, nas0, nas1, tun0, tun1, tap0 and tap1. These are the interfaces that I know that USB modems use.