Strange happenings at the terminal
Hi folks,
Using Sarge with 2.6, just installed and trying to get things configured. I find that I occasionally cannot work at the terminal because it periodically writes a certain message at the prompt. This essentially takes over the terminal so that I can't enter commands reliably. If I am fast I can use Ctl+c and exit, but that's about it. I was able to open a root shell from Gnome, and after I exited it I couldn't open a second shell, plus the terminal behavior at tty1 was as above. The message is something like this: DROPPED IN= OUT= SRC= MAC= DST= MEN= PREC= TTL= ID= PROTO= SPT= DPT= and so on. Each of these is not always in there, and of course numbers follow the most of the '=' signs, such as IN=eth0. eth0 happens to be my ISP, so I am assuming that this has something to do with my Inernet -- logical, eh? I have Guarddog installed. Any thoughts, places I could read? |
this is hapenning at the CONSOLE, not the terminal, right?
These are ip addresses trying to report to their headquarters, e.g., microsoft or any other software company, but your firewall does not allow it, therefore the message, one of those numbers is the port #, which in turn when checked at grc.com, will give you the name of company. it happens to me too, that's why i don't user 'startx', to avoid this i use xdm, one of these days i'm gonna get to the bottom of this. |
I'm afraid I still don't know the difference between a console and a terminal. If a terminal is a simulation of the console, and the console is the black-and-white text interface, then yes it's happening at the console. The terminal, if that's the simulation that runs under X, won't start up under these conditions.
I still haven't determined just what triggers it. Last time it seemed to have started sometime after I closed the first root shell (terminal?). It's a problem I can live with for now at any rate. (Windows users are used to rebooting. :o) A quick Google shows that xdm is a graphical log-in, and gdm is Gnome's version of it, so they are "display managers," i.e., utilities, whereas startx is a shell script. All seem to be designed to get the X ball rolling, but beyond that I don't know the difference. I don't care much what my log-in screen looks like, but I would like to keep using Gnome; if it makes no difference to Gnome it is probably a decent solution for me, if I really need one. (The only reason I want to use Gnome is because I've used KDE in SUSE, and, though I surely condemn myself, I like pretty interfaces -- but am also trying to slowly get my wife used to the idea of using Linux.) I installed Window Maker as suggested in the Verbose Debian Installation Guide, and I used startx to launch that. The login screen looks the same now that Gnome is running, so I suppose that the login screen I now have is also generated by startx. Glad you're around, I might need a hand with sndconfig, but I'll do that in a separate thread. Remind me next time I'm in Panama to buy you a drink. (Unfortunately neither has a precedent.) Cheers, Mike |
Do yourself a favor and read:
"Debian Configuration Post-Install" is the first thread on this list. When you are at the console (black screen) accesible with ctrl+alt+F (1-6) and you start getting those pop-up attempts by these companies/ports, ignore and keep writing, hit Enter. To go back to x/g/k/ dm, pres ctrl+alt+ F7, and you're back at the display manager of your choice, login, and you're in X, and now you can click on the xterm (terminal) icon or ctrl+alt+t (in icewm) and you are ready. If you cannot get into X, the console will act as the terminal, you can invoke your favorite editor as root, and fix whatever is wrong, e.g. your ~/.xsession, and start by default your DE or wm by default. capisci? |
As a quick'n'dirty fix for these strange messages you can try adding a line that sets the console messages level to one (=minimal)
Code:
dmesg -n1 BTW, both the system console and xterm are "virtual terminals" but sometimes it makes sense to separate the two. When it doesn't matter which one you use (console or xterm), you can just talk about CLI (command line interface). ;) |
By the way, Guarddog really seems to work nicely. I got all 1055 packets in the green at grc.com.
Quote:
Your recommendations: Quote:
Quote:
Thanks to your post-install guide, I also ran #apt-get update #apt-get dist-upgrade as a first step after booting Windows Maker. This updated my kernel, and uname -r gives me 2.6.8-1-686-smp back. I rebooted right away, as the kernel installation recommended. So that at least tells me/us what kernel is running, since this is possibly a kernel-related issue. I don't know much of anything about kernels or how they work with modules, but I do know enough to type lsmod to show the modules. (Learned this trying to configure a USB mouse back in SUSE. :)) Here are the modules it lists: Code:
Module Size Used by Here's what lspci outputs: Code:
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS 645xx (rev 02) So all of that just to say, "I'm working on it." That seems to be a running theme with Debian -- kind of a hidden feature, you get to learn something! |
Thanks for adding to the post.
Quote:
Quote:
Quote:
Dead Parrot, thanks for the tips. What other effects might setting the console messages level to one have though? I am prone to forget I set that, even if I write it down, so I wouldn't want to use it if it has a negative effect on other generated messages that I might want to see. Thanks, Mike |
Quote:
The "dmesg -n1" trick is nevertheless useful, because it allows you to work in console without any annoying interruptions. :) |
I'll keep that in mind then next time it "goes haywire." Thanks.
|
Quote:
sndconfig uses oss, and 2.6 kernels have alsa as default. try alsaconf (/usr/sbin/alsaconf, comes with alsa-utils, eg. apt-get install alsa-utils) |
All times are GMT -5. The time now is 12:55 AM. |