vpnclient and host lookups
by Edward Croft
I did note that a host lookup using host -T does work, however standard
DNS lookups, like when using the browser, fail. My guess is that for
some reason the Cisco client does not pass UDP packets. I am guessing
here. Has anyone found a solution/workaround? Is there a way to default
DNS lookups to use TCP packets instead?
TIA
Ed Croft
19 years, 8 months
How do you read sylpheed local mail?
by Richard E Miles
I've been using sylpheed mail program and would like to read from my
local user mailbox. i.e. /var/spool/mail/rmiles. I set up the account
as instructed to use None (local). I used fetchmail to download my mail
from my isp. But I can't figure out how to read from my mailmox. Can a
syplheed guru tell me how the get mail for rmiles?
Thanks
Richard E Miles
Federal Way WA.
registered linux user 46097
19 years, 8 months
A backup problem
by mjwestkamper
I am installing Linux Fedora Core 2 over a an older RedHat version, 7.1. The
application is a complex one providing a real-time video feed. While
reasonably schooled in the application side there are any number of esoteric
pieces I am struggling with. Specifically something as simple as backing up
the system.
I've tried TAR and SMB only to create ever increasing volumes. The problem I
think is that my attempts are chasing the links instead of simply backing up
the links. I simply want to create a backup that I can copy back, untar or
the like, if I must re-create the system. All my software is a CVS archive,
however much of the meddling I've done to Linux is in the libs, file
structures, links, .conf files and the like.
Any direction will be greatly appreciated.
Mike
19 years, 8 months
Establishing a mail-only account?
by david
Folks
Is there a way to define a user account for a remote user such that the
user can ONLY retrieve his/her
mail via POP3 or IMAP, and cannot run any other functionality (such as
shell, or ftp?)
I am running FC2 server, command line only.
Thanks
David
19 years, 8 months
Installing RPM s
by Tore Frederiksen
Hey..
Ive just startet using fedora.. but when i try to install RPM software the
computer is asking me what software i would like to use to open the RPM
files.. i dont now what to say.. i dont know what the RPM installler is
called in fedora.. please help me...
KR Tore Frederiksen
_________________________________________________________________
Find det, du søger på MSN Søg http://search.msn.dk
19 years, 8 months
Re: Network configuration problem.
by Stewart Nelson
Hi Erik,
> > You probably have the Linksys set up to do NAT (the default, and
> > impossible to turn off in many models). That will block requests from
> > 192.168.1 to 192.168.2 . You could possibly set it up non-NAT, but
> > then your Internet router would need to be configured with a static
> > route and to do NAT for the other subnet.
> No, I don't think it does NAT. How can I verify that? There is nothing
> of this kind in the configuration dialogs.
All inexpensive routers (those intended to share a DSL or cable modem
connection) use NAT by default. That's because the ISP only provides
a single public IP address to the typical residential or small business
user. In your present setup, you can ping from 192.168.2.125 to
192.168.2.1 . While doing this, run ethereal or tcpdump on 192.168.1.1
and look at the ICMP request packets coming in. I'll bet that the
source address will be 192.168.1.7, rather than 192.168.2.125, showing
that NAT is enabled. On many small routers, it's not possible to
turn NAT off. On some Linksys models, in Advanced->Routing, you
can change the Operating Mode from Gateway to Router to disable NAT.
But IMHO, that is not the right solution for you, because you have
no administrative control over your Internet router, and you would
need to change settings there, if you want to have the Linksys be
non-NAT and still provide Internet access to the wireless clients.
> > IMO, if you don't need extra security between your customers and the
> > office LAN, it is easiest to set up the Linksys as just an access
> > point, not using its routing function. To do this, disconnect the
> > WAN port altogether. From a PC on its LAN side, change the Linksys
> > WAN address to something that does not conflict, e.g. 192.168.3.7 .
> But the present address, 192.168.2.1, does not conflict.
Sorry if I was not clear. I meant to say that you should change
it to avoid a conflict on the next step. But I now know (from
another message you sent) that the Linksys WAN address was supplied
by DHCP from the Internet router, so you don't need to do anything
but disconnect the WAN port and reboot the Linksys.
> > Then, disable its DHCP server, and change its LAN address to 192.168.1.7 .
> I can't change the DHCP server. It belongs to the ISP. They'll do the
> change for a fee and I loose support if I do. I'll rather change ISP
> than their router.
I meant that you should disable the Linksys DHCP server. On my WRT54G,
on the DHCP tab, there is a DHCP Server: entry that you can set to
Disable. On your model, it may be different.
> > Connect a LAN port on the Linksys to your office LAN switch. If neither
> > side is auto MDI/MDX, you will need a crossover cable. Now, your
> > wireless clients will get IP addresses 192.168.1.x, handed out by
> > whatever does DHCP on your office LAN, presumably either the Internet
> > router or your server. The Linksys will just be a bridge, so you
> > don't need any special routes on your server.
> I had a similar setup at the very beginning and it worked fine except I
> could establish a mail server. The NAT in the WAN router translates
> incoming SMTP traffic to 192.168.1.2 and that was never reflected to the
> connected subnet due to addressing conflicts. I had to connect the mail
> server to the WAN router and reconfigure the wireless router to
> 192.168.2.0 and that's when I lost connection from the mail server to
> the customer machines on the wireless network.
I assume that you meant to say "... could not establish a mail server" :)
I believe that your trouble was the conflicting DHCP servers. Try this
again, after disabling the Linksys DHCP server, and resetting the Linksys
LAN address to 192.168.1.x that does not conflict with other hosts on
your LAN, and is out of the range of addresses handed out by your Internet
router.
If it still doesn't work, please tell me the models of your Linksys and
Internet routers, and what service(s) on the wireless LAN that you want
to access from your server.
Good luck,
Stewart
19 years, 8 months
Simple database
by Tim
Is anyone using a simple database on FC2? I have a pile of notes on my
desk from tips on this list and changes. It would be nice if it could
import files so I could use it for other things, but I just want to set
up a few fields and be able to search through them.
Tim...
19 years, 8 months
Programming IDE
by Daniel Stonier
This might be a little off-topic, but then again it's a matter of finding
what's out there that I can run on FC2.
At the moment I'm doing some C programming of simulations for the
mathematics problems we're looking at.
So the projects aren't huge, and not aimed at multi-desktop/OS
compatibility. Currently they utilise
a collection of source/include files, and bring them together with a
single hand-written makefile. No use of
gtk or qt - they use either the EFL (enlightenment libraries) or Glut for
window management.
All I'm looking for is an IDE which can bring these together and allow me
to point it at the makefile I wish
to use for compilation purposes (saves me having 10 vim windows open at
once).
I had a look at Kdevelop and Anjuta, but creation of any sort of project
seems to run off and automate a
procedure that sets up links, configure scripts, multiple makefiles - none
of which I need. If you do any
programming on FC, what do you use for small programs that aren't on the
scale of kde or gnome applications?
Or is there a way to force kdevelop or anjuta to do what I'm looking for?
Thanks,
Daniel Stonier.
--
email:snorri_dj@operamail.com
http://members.optusnet.com.au/stonierd/
19 years, 8 months
Re: Alcatel Speedtouch and FC2
by Christoph Kiefer
Thanks to Nico for the tutorial about Alcatel Speedtouch Modems and FC2.
Unfortunately it did not work for me.
The same errors appear when I try to establish the connection with
"pppd call adsl"
...
Timeout: Sending LCP Config-Requests
...
This whole issue about USB ADSL modems and Linux is just a pain in the
a**!
I will buy an Ethernet Modem now.
Thanks a lot anyway.
Christoph
> Message: 13
> Date: Tue, 27 Jul 2004 12:21:01 +0200 (MEST)
> From: "Markus Nicolussi" <mcwimpy(a)gmx.at>
> Subject: Re: FC2 and Alcatel Speedtouch
> To: fedora-list(a)redhat.com, fedora-de-list(a)redhat.com
> Message-ID: <5184.1090923661(a)www13.gmx.net>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi!
>
> I had also a lot of problems setting up the alcatel speedtouch modem 4 FC2.
> As u experienced it there is a lot of useless HOWTOs cruising around in the
> inet. at least they seem to be 4 a lot of european people outsinde of
> gemany. And this was the big problem i had to solve. In Austria the modem
> uses PPP over ATM and somehow encapsulated a VPN like connection with PPTP.
> if this is the same in your country (schweiz?) then i have a solution 4 u.
>
> I finally found the sollution in a book i have to recommend very strongly to
> german nebie FC and SUSE users. the price is 60EUR
>
> http://www.kofler.cc/linux.html
>
> pg 871ff lists 2 possibilitys
> *pppoa3 driver from Benoit Papillault (thats what your howto is about)
> *pppoatm plugin (its an add-on for pppd, speedtch kernel module needed)
>
> i found that the second method is quite convenient. and will explain it
> here.
>
> At first connect your USB modem and be sure that the speedtch kernel module
> is loaded (lsmod!) It's included in FC2 and was loading automatically on my
> machine.
>
> Then u have to get the latest speedtouch drivers from here
> http://sourceforge.net/projects/speedtouch
> and install it
> rpm -ivh speedtouch-1.3-2.i586.rpm
> you need the "modem_run" program to initialize the modem.
>
> Then download the modem init file KQD6P2.eni here
> http://linux-usb.sourceforge.net/SpeedTouch/download/index.html
> download the zip file KQD6_R204.zip. Unzip it to get the files KQD6P1.eni
> and KQD6P2.eni. The one you want is KQD6P2.eni (the bigger of the two). i
> copied this file to /lib to easier start ADSL at boot time (see later)
>
> now u can initialize your modem
> /usr/sbin/modem_run -k -f /lib/KQD6P2.eni
>
> Now u need a special version of pppd, because the one shipped with FC2 does
> not include the pppoatm plugin. download from here
> http://grumz.dyndns.org/ADSL_FC2/
> and update your pppd
> rpm -Uvh ppp-2.4.2b3-1.GrumZ.i386.rpm linux-atm-2.4.1-1.GrumZ.i386.rpm
>
>
> Now u have to configure pppd. But before u can do this be sure to have an
> empty /etc/ppp/options. Create the file /etc/ppp/peers/adsl and edit it in
> the following way:
>
> --------------------------------------------------------------------------
> # /etc/ppp/peers/adsl
>
> # pppoatm specific options
> plugin /usr/lib/pppd/plugins/pppoatm.so
> asyncmap 0
>
> # no compression
> noaccomp
> nopcomp
> noccp
> novj
>
> # normal Options
> lock
> noauth
> noipdefault
> defaultroute
> usepeerdns
> name "YOUR_ACCOUNT_NAME"
>
> # in case of an interruption in the connection
> # reastablish connenction after 4 seconds
> persist
> holdoff 4
> maxfail 25
>
> # /etc/sysconfig/network-scripts/ifcfg-adsl contains PEERDNS=yes
> ipparam "adsl"
>
> # dial-on-demand
> #demand
> #connect "/bin/true"
> #idle 300
> #ktune
>
> # automatic test of the connection
> lcp-echo-interval 60
> lcp-echo-failure 2
>
> # write PID in /var/run/ppp-adsl.pid
> linkname "adsl"
>
> # VPI/VCI (has to be in the last line!)
> 8.48
> --------------------------------------------------------------------------
>
> don't forget to create a file /etc/sysconfig/network-scripts/ifcfg-adsl with
> the entry
> PEERDNS=yes
>
> enter your internet account password in /etc/ppp/pap-secrets and
> /etc/ppp/chap-secrets
>
> start ADSL with
> pppd call adsl
>
> stop ADSL with
> killall pppd
>
> u have to be root to do that. I don't now a solution for sarting ADSL as a
> user. for example via the GNOME modem applet. Anyone any ideas?
>
> you might want to start your ADSL connection at the startup of your machine
> and stop the connection at the shutdown of your computer.
>
> create a file /etc/init.d/adsl and edit it in the following way
>
> ---------------------------------------------------------------------------
> #!/bin/bash
> # /etc/init.d/adsl
> #
> # chkconfig: 35 99 10
> # processname: ADSL
> # description: starting ADSL ...
> # pidfile: /var/run/ppp-adsl.pid
>
> case "$1" in
> start)
> echo "starting ADSL ..."
> /usr/sbin/modem_run -k -f /lib/KQD6P2.eni
> pppd call adsl
> ;;
> stop)
> echo "shutting down ADSL ..."
> [ -f /var/run/ppp-adsl.pid ] && \
> kill $(head -1 /var/run/ppp-adsl.pid)
> ;;
> *)
> echo "usage: $0 {start|stop}"
> exit 1
> ;;
> esac
> ---------------------------------------------------------------------------
>
> now chmod the file to executable and add the new script to your boot process
> chmod a+x /etc/init.d/adsl
> chkconfig --add adsl
>
>
> SPEEDTOUCH ETHERNET MODEM
>
> I have to recommend all ADSL users the Ethernet version of the ADSL modem as
> it ist much easyer to configure!
>
> first u need a pptpclient
> http://pptpclient.sourceforge.net/
> update your pppd
> rpm -Uvh ppp-2.4.3-0.cvs_20040527.1.fc2.i386.rpm
> and install the pptp client
> rpm -ivh pptp-linux-1.5.0-1.i386.rpm
>
> configure your ethernet card with an IP which is something between 10.0.0.1
> and 10.0.0.254 but not 10.0.0.138 (this is the modem) and a Subnet Mask
> 255.255.255.0 and NO Gateway Adress.
>
> test your modem with
> ping 10.0.0.138
>
> Now u have to configure pppd. But before u can do this be sure to have an
> empty /etc/ppp/options. Create the file /etc/ppp/peers/adsl and edit it in
> the following way:
>
> ---------------------------------------------------------------------------
> # /etc/ppp/peers/adsl
> # pptp specific options
> pty "/usr/sbin/pptp 10.0.0.138 --nolaunchpppd"
>
> # no compression
> nobsdcomp
> nodeflate
>
> # normal options
> lock
> noauth
> noipdefault
> defaultroute
> usepeerdns
> name "YOUR_ACCOUNT_NAME"
>
> # in case of an interruption in the connection
> # reastablish connenction after 4 seconds
> persist
> holdoff 4
> maxfail 25
>
> # /etc/sysconfig/network-scripts/ifcfg-adsl contains PEERDNS=yes
> ipparam "adsl"
>
> # dial-on-demand
> #demand
> #connect "/bin/true"
> #idle 300
> #ktune
>
> # automatic test of the connection
> lcp-echo-interval 60
> lcp-echo-failure 2
>
> # write PID in /var/run/ppp-adsl.pid
> linkname "adsl"
> ---------------------------------------------------------------------------
>
> don't forget to create a file /etc/sysconfig/network-scripts/ifcfg-adsl with
> the entry
> PEERDNS=yes
>
> enter your internet account password in /etc/ppp/pap-secrets and
> /etc/ppp/chap-secrets
>
> for the ADSL start at boot time use the same method like above but WITHOUT
> the line
> /usr/sbin/modem_run -k -f /lib/KQD6P2.eni
>
>
> The End :-)
>
>
> Please let me know if this helped you, as i was doing this HOWTO on a
> different machine than the one which gave me my speedtouch experiences. and
> so i couldn't test it. :-)
>
> ciao, nico.
19 years, 8 months