Best of Technical Support
I have upgraded my PC's memory from 16MB to 72MB. Although the BIOS and Win95 recognize the extra memory, Linux appears not to see it. Using utilities such as free and top show a total of only 16MB of available memory. My PC still performs as it did when I had only 16MB installed.
Is there something I must do for Linux to recognize the new memory?
—George Tankoski, Slackware 1.3.2
LILO's configuration file may be explicitly setting the available memory to 16MB. To see if this is true, check the file /etc/lilo.conf for a line that looks like this:
As root, change this line to read:
Then, run /sbin/lilo (also as root) to make LILO reread the edited configuration file and reboot.
If you don't see the “16m” line in /etc/lilo.conf, back up your system, then try rebooting and typing the “72m” line directly at the LILO prompt. If your system boots and appears to be stable, you can then permanently enshrine the “72m” line in /etc/lilo.conf.
—Scott Maxwell, firstname.lastname@example.org
I have a modem connection at work on a MS Windows NT/4 server. When I try to connect with PPP, I never get the login prompt. Once the dial up is done (using seyon), the connection hangs up. I guess NT is using RAS rather than the regular PPP. Do you know any way to set up the connection with NT?
Thanks for your help.
—Jacques Milman, Red Hat 4.1
The NT server uses ms-auth-chap authentication. Check out your pppd configuration to be sure it is compiled with ms-auth-chap crypted authentication.
Here is an example of what can happen if your pppd does not include ms-auth-chap support—server asks for ms-auth-chap:
pppd: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap 80> <magic 0x307f> <pcomp> <accomp>]
pppd rejects the request:
pppd: sent [LCP ConfRej id=0x0 <auth chap 80>]
so NT closes the line.
—Pierre Ficheux, email@example.com
Let me start from the beginning. One day I booted my computer and received a message saying “remove and insert new disk” or something similar. I played around with the CMOS setting and checked the hardware to make sure no wires had fallen out. I ended up formatting my c: disk, and up until this time, I could still use Linux. I received the same message, but I could load DOS from a boot disk.
The next time I tried to load Linux at the LILO prompt, it said “loading........” and hung. I then tried to use a Linux boot disk and got the message “cannot initiate console”.
I am finding this to be a big problem, as I cannot access the files on either my Windows 95 partition or my Linux partition. If you can give me any help with fixing my Linux problem, I will be very grateful.
—Jamie Gamble, Slackware 3.2
The process of booting Linux on the PC platform is a bit intricate, mainly because of the peculiarities of the platform.
LILO loads the kernel using a list of disk blocks it built beforehand (when you ran /sbin/lilo, the map installer). After loading the blocks, it jumps to the kernel image; but if you moved the kernel after running /sbin/lilo, the loader will jump to nonsense program code, thus hanging the system.
Boot floppies, on the other hand, come in different flavours. The message “cannot open an initial console” means the kernel was loaded just right; it mounted a root file system, but couldn't open /dev/tty1 or /dev/ttyS0. I've seen this happen when mounting the /home partition as the root file system (there was no /dev directory).
Restoring a Linux installation is not trivial, especially if you have no other Linux box around. Short of finding a local Linuxer, try the /usr/doc/lilo*/README or my article “Booting the Kernel” in the June 1997 LJ.
—Alessandro Rubini, firstname.lastname@example.org
When I'm recompiling my kernel, I get a virtual memory exhausted error. It seems to happen when the compile is around the floppy.o section. When I use a different boot kernel (bare), it gives me a fatal signal 13.
—Wes Horn, Slackware 3.2
There are two common causes of this kind of problem.
Hardware; perhaps a bad cache or RAM
Out of swap space
You did not specify how much RAM nor how much swap space you have. Compiling the kernel is a CPU/memory intensive task, so if you do not have enough physical memory, your system will start using the swap space. If this swap is used up, strange things, such as the one you mentioned, can happen.
—Mario Bello Bittencourt, email@example.com
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Server Hardening
- EnterpriseDB's EDB Postgres Advanced Server and EDB Postgres Enterprise Manager
- The Death of RoboVM
- BitTorrent Inc.'s Sync
- The US Government and Open-Source Software
- The Humble Hacker?
- Open-Source Project Secretly Funded by CIA
- New Container Image Standard Promises More Portable Apps
- AdaCore's SPARK Pro
- ACI Worldwide's UP Retail Payments
In modern computer systems, privacy and security are mandatory. However, connections from the outside over public networks automatically imply risks. One easily available solution to avoid eavesdroppers’ attempts is SSH. But, its wide adoption during the past 21 years has made it a target for attackers, so hardening your system properly is a must.
Additionally, in highly regulated markets, you must comply with specific operational requirements, proving that you conform to standards and even that you have included new mandatory authentication methods, such as two-factor authentication. In this ebook, I discuss SSH and how to configure and manage it to guarantee that your network is safe, your data is secure and that you comply with relevant regulations.Get the Guide