LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2006, 04:26 PM   #1
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Question Problems with xfce, adduser, connecting to internet


I just installed slackware 10.2 (again, because xfce didn't work and I thought maybe I left out a package or two). I went through the menu install and took pretty much everything except games, java, and anything else that didn't sound like core stuff. I didn't install KDE or KDEI because I thought the whole point of linux is not to reinvent bloatware on new platforms. I would like to run a lightweight desktop like xfce or x setup like fluxbox so I can survive until I learn how to use the command-line stuff.

1) I went through xorgconfig and I can use fluxbox, blackbox, etc. But when I try to use xfce (chosen through xwmconfig) it selects it ok but startx fails with a long error message and I don't know how to capture it to paste it here.

2) adduser is telling me awk: command not found. I don't know how to fix this.

3) I can start a web browse but I can't connect to the internet. When I run Slax live CD (actually all of the live CDs I have- about 10) I can always get to the internet.

I'm sorry if this is a repeat of other people's questions. I can't seem to use the search facility here to get a granular enough search. Nor does it seem to work with quoted phrases like "xfce won't start"

Thanks (a lot),
Rand
 
Old 02-11-2006, 04:33 PM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
1) /var/log/Xorg.0.log is the X error log, you'll find the error messages there.

2) Install the awk package - it's on CD #1 in the a/ directory (or from here: http://slackware.it/en/pb/search.php?v=10.2&t=1&q=awk).

3) In a terminal, run (as root) netconfig to configure your network.

Hope this helps.

Last edited by odevans; 02-11-2006 at 04:35 PM.
 
Old 02-11-2006, 05:26 PM   #3
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
I guess I screwed up by trying not to install all the garbage. I installed everything (again) except KDE, KDEI, and games, and now everything mostly works. And it's only 2% more space than I saved with my "streamlined" install. Where did I go wrong (don't answer that).

I got internet access working by using DHCPCD. Is it possible to get this to happen automatically when the system starts?

Thanks,
Rand
 
Old 02-11-2006, 05:35 PM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Either run the netconfig script (as root, in a terminal), or edit /etc/rc.d/rc.inet1.conf. For a machine with the interface eth0, it'd look something like this:

Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
 
Old 02-11-2006, 05:43 PM   #5
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thanks, man.
 
Old 02-12-2006, 05:41 AM   #6
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Not only does this set up dhcp so that by the time I start a browser everything is connected, but it also speeded up my boot which was waiting for a disabled ethernet card (by default) to respond (it doesn't!)

You killed two birds with one stone; way to go!

How do I capture message output on linux so that I can post it here?

Thanks,
Rand
 
Old 02-12-2006, 10:56 AM   #7
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Depends what output you want to capture. If you have gpm running, you can copy & paste text between consoles by highlighting the text, switching to another console running a text editor and hitting the middle mouse button. If you're running the command in an X terminal (like Konsole in KDE or xterm), you can do the same thing - highlight the text in the terminal and click the middle mouse button in the text field in your browser. If you're looking for system messages, have a look at the files /var/log/syslog and /var/log/messages. The kernel boot messages can be seen by typing dmesg | less (it's more than a screen full) in a terminal. If you want all output from a command to be captured in a text file, append 1> somefile to the command. Try this:
Code:
user@slackbox:$  ls -al 1> foo
Now you have a text file "foo" that contains the directory listing. Changing the 1> to 2> will capture only error messages.
 
Old 02-12-2006, 12:44 PM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thanks. I am talking about the command prompt without a console, I guess.
 
Old 02-12-2006, 12:50 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
and if you wanna be able to see the output while at the same time sending it to the file, use "tee":
Code:
whatever | tee whatever.txt
http://www.die.net/doc/linux/man/man1/tee.1.html

Last edited by win32sux; 02-12-2006 at 12:53 PM.
 
Old 02-13-2006, 08:45 AM   #10
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Quote:
Originally Posted by Randux
Thanks. I am talking about the command prompt without a console, I guess.
command prompt = console

same thing (not to be confused with konsole, the kde terminal emulator).

For "streamlining" your setup, take a look at http://amigolinux.org/docs/minstall/Phoenixhowto.htm. It explains the functions of the packages in Slackware and also tells you what you absolutely need to have installed.
 
Old 02-13-2006, 08:51 AM   #11
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Thanks for the info, guys. I don't use kde.

Thanks for the tips and links!

Rand
P.S. very cool concept, aliendog! I was thinking about creating a service machine on HD and disabling boot from CD. I was maybe going to use DSL but there are some things I don't like about it. A 40M slackware machine sounds pretty good!

Last edited by Randux; 02-13-2006 at 08:55 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with connecting to Internet on SuSE 9.2 mile89 SUSE / openSUSE 4 01-01-2005 02:34 AM
Problems connecting to internet using Slackware Dead_Linux_User Linux - Networking 11 09-14-2004 06:22 PM
Connecting Problems to Internet FireInTheDark Linux - Networking 3 08-11-2004 10:39 PM
Problems after connecting to internet tuxedo-notebook Linux - Software 12 04-21-2004 11:59 PM
Problems connecting to internet smokedog Linux - Networking 9 12-14-2003 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration