Best of Technical Support
My PPP connection is failing while using a modem to dial up to my ISP. My log indicates (after chat):
pppd:Serial Connection established pppd:Using interface ppp0 pppd: Connect: ppp0 /dev/ttyS2 pppd: LCP: timeout sending Config-Requests pppd: Modem Hangup pppd: Connection terminated pppd: Exit
My options file with and without these lines given separately had the same effect:
lock passive lcp-echo-failure 10 lcp-echo-interval 400Chat (tried different values):
'' 'AT&F' (also used ATZ) 'OK' 'ATDTxxxxxx' 'CONNECT' '' 'login:' 'xxxxxx' 'password:' 'xxxxxx' 'TIMEOUT' '60'pppd options (also tried 1500 for MTU and MRU:
hardflowcontrol=yes defroute=yes MRU=556Do I need to include something more in my chat to make the modem wait longer ? Also, according to my ISP administrator, my machine is “not replying to LCP request”. My modem is a BestData 56K internal modem (#56SF), controller-based. I am using Red Hat 6.0 Intel. —Vijay Nunna, email@example.com
There isn't anything else you should include in your chat script; however, some servers may be slow to start up the LCP communication, and thus your pppd daemon will timeout before then. To raise the number of LCP configure-request packets before pppd determines it is not responding, you can add the lcp-max-configure option to your /etc/ppp/options file, followed by the number of LCPs to send. For example, lcp-max-configure 30 would raise the number from the default of 10 to 30. You might also want to remove the—Andy Bradford, firstname.lastname@example.org
You need to add debug on your pppd command line and look at the /var/log/messages file. You also want to replace chat with chat -v. Those two combined will give you lots of debug output and hopefully a better idea of what is failing and where. —Marc Merlin, email@example.com
I am trying to install a package that includes a Ghostscript driver for my printer. I'm getting dependency issues. The files required (as printed by rpm) are:
libc.so.6(GLIBC2.0) libc.so.6(GLIBC2.1) libm.so.6(GLIBC2.0) libm.so.6(GLIBC2.1)
I've upgraded the libc libraries to glibc 2.1, but this seemed to have no effect. Looking at the dependency list, it also seems to need libc.so.6 and libm.so.6 without the GLIBC attached, and it has no problem finding these. I've looked at FTP sites for files with these names and cannot find them. Can anyone tell me what these are and if I need to find them, or whether I can tell rpm to ignore them? —Doug Morgan, firstname.lastname@example.org
Often, a dependency on libc6 or libm6 means only that the binaries were compiled to use these versions of the libraries—they can often be recompiled against an older libc/libm without any problems. To do this, grab the SRPM (it should have the extension .src.rpm), do
and install the resulting binary .rpm. Use this approach with caution, as there are applications that exhibit bugs under the older libc/libm (or won't compile). Still, in my experience, it generally works just fine. —Scott Maxwell, maxwell@ScottMaxwell.org
Although you can install glibc 2.1 on a glibc 2.0 system, it may be better for you to upgrade your system to SuSE 6.3 instead. However, if you do have all the libraries installed, but for some reason the RPM database doesn't agree, you can force the package to install with rpm --nodeps package.i386.rpm.
Another option is to get the .src.rpm version of your package and rebuild it for your system: rpm --rebuild package.src.rpm. The resulting package should be in /usr/src/redhat/RPMS/i386/. —Marc Merlin, email@example.com
I am thinking of building a dual-processor computer and wondering if Linux supports this. I have heard Linux is the best OS, and I have heard Windows NT is the only OS that supports multi-processing. —William Cason, firstname.lastname@example.org
Linux does indeed support SMP. In fact, I use a fast dual-CPU Linux box at work. —Scott Maxwell, maxwell@ScottMaxwell.org
Linux may or may not be “the best”, depending on what you're trying to do and what you're looking for. It does support multi-CPUs on recent kernels (2.2.x), and some distributions like Red Hat support SMP at install time. Some require you to compile your own kernel. —Marc Merlin, email@example.com
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
|Trying to Tame the Tablet||May 08, 2013|
|Dart: a New Web Programming Experience||May 07, 2013|
- RSS Feeds
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- Readers' Choice Awards
- Developer Poll
- What's the tweeting protocol?
- New Products
- Web Hosting IQ
27 min 13 sec ago
- Web Hosting IQ
27 min 46 sec ago
- Web Hosting IQ
28 min 27 sec ago
- Reply to comment | Linux Journal
3 hours 29 min ago
- play with linux? i think you mean work-around linux
11 hours 55 min ago
- Where is Epistle?
12 hours 58 sec ago
- You forgot OwnCloud
12 hours 30 min ago
- aplikasi free
15 hours 45 min ago
- Having a framework
15 hours 48 min ago
- Fix my computer
16 hours 28 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.