LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-19-2006, 09:41 AM   #1
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
post-installation config help please


With help of a couple of guys here, I finally got the gui working.. but now I am struggling using Slackware..

Somethings really turned me down..

1. I can never get my logitech usb mouse working, and after some googling, and seems many people have teh same issue. and the only way to resolve it will be updating to Kernel 2.6,

2. I tried PPPOE-SETUP, and it is done, and pppoe-start to get the network start up, but the web browser doesn't surf the internet.........

Can someone help me for these two issues?

mark
 
Old 12-19-2006, 09:42 AM   #2
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
by the way, I am just installed slack 11, and my internet connection is ADSL.

THANKS
 
Old 12-19-2006, 10:49 AM   #3
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Rep: Reputation: 30
In my opinion, there is no reason why anyone should not be using the 2.6 kernel if you are using the system for desktop type work. The 2.6 kernel offers much better device support and I find that it is also much easier to compile.

I would suggest that you install the 2.6.17.13 kernel in the /extra folder. There are good instructions in the README.initrd file which shows you how to make a initrd file (required if you installed the system using the reiserfs). When you reboot using the new kernel, the usb mouse will work.

To get the usb mouse working with the default kernel, you need to change the device entry in /etc/X11/xorg.conf. I can't remember exactly what it needs to be, but if you do some searching in the Slackware section of this site, you should be able to find it.

Sorry I can't provide a more direct answer, but I always use the 2.6 kernel during my Slack installs.

Bob
 
Old 12-19-2006, 11:23 AM   #4
bobaye
Member
 
Registered: Dec 2006
Location: Riverside CA
Distribution: Slackware first, then everything else
Posts: 48

Rep: Reputation: 15
I use the same mouse and have had pretty good luck editing the etc/X11/xorg.conf file like this - Uncoment Option "protocol" "Auto" {remove the # sign at the begining of the line}.........then in the section just below that edit {Option "Protocol" "PS/2"} to read {Option "Protocol" "IMPS/2"}
Thats it.
Log out of X then restart {or just reboot) and it should work.
I am using the 2.6 kernel though, your mileage may vary.
Good luck on that, and welcome to the wonderfull, albiet confusing world of slack also.
I'm just a noob myself doing lots of this...........
 
Old 12-19-2006, 11:58 AM   #5
oldgeek
LQ Newbie
 
Registered: Nov 2006
Location: California
Distribution: Slackware 11
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by markluocanada
1. I can never get my logitech usb mouse working, and after some googling, and seems many people have teh same issue. and the only way to resolve it will be updating to Kernel 2.6
mark
I have two different logitech usb mice and both work fine on the 2.4 kernel.

As posted above, set option to "IMPS/2" and add option ZaxisMapping "4 5" and that should do it for you.
 
Old 12-20-2006, 06:34 AM   #6
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks bobaye, and oldgeek,

I did exactly what you said, but my mouse is crazy, it moves itself all over the display,, crazy, i have to set it back,, sorry guys,,
 
Old 12-20-2006, 07:41 AM   #7
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
Quote:
2. I tried PPPOE-SETUP, and it is done, and pppoe-start to get the network start up, but the web browser doesn't surf the internet.........
did you get an IP address? run
Code:
  # ifconfig -a
to see did you get an IP.

you should see something like this:
Code:
eth0      Link encap:Ethernet  HWaddr 00:0E:A6:xx:xx:xx
          inet addr:131.129.5.222  Bcast:131.129.5.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21630653 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14582891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:501140929 (477.9 Mb)  TX bytes:2239033046 (2135.3 Mb)
          Interrupt:22 Memory:feafc000-0
>> inet addr:131.129.5.222 ... that is your IP.

if you got the IP, try to ping something, for example google.com:
Code:
root@x31:/tmp# ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=238 time=118 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=2 ttl=238 time=117 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=3 ttl=238 time=118 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=4 ttl=238 time=118 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 4271ms
rtt min/avg/max/mdev = 117.962/118.112/118.231/0.357 ms
if you get something similar, check your browser configuration or try "links" on the command line.

if you get something about "ping: unknown host google.com", try to ping google's IP (see above PING google.com (64.233.167.99)):

Code:
root@x31:/tmp# ping 64.233.167.99
PING 64.233.167.99 (64.233.167.99) 56(84) bytes of data.
64 bytes from 64.233.167.99: icmp_seq=1 ttl=238 time=118 ms
64 bytes from 64.233.167.99: icmp_seq=2 ttl=238 time=117 ms

--- 64.233.167.99 ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2002ms
rtt min/avg/max/mdev = 117.997/118.058/118.119/0.061 ms
if it works with the google's IP but not with the host, you have to enter some name-server for resolving IPs to the domains into /etc/resolv.conf. for example put these two server (from www.opendns.org) or use your providers name servers and put them in /retc/resolv.conf:
Code:
208.67.222.222
208.67.220.220
save the file with these two lines, and try again to ping google.com. if it works, check you browser.

M.
 
Old 12-20-2006, 07:53 AM   #8
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
i will reboot to slackware and try what you said just now.

thanks
 
Old 12-20-2006, 08:41 AM   #9
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
malo_umoran, thanks for your instruction,

I found that I can ping 64.233.167.99, and many other ip address, but can't for the host name, still keep getting "unknown host google.com"

I tried to put these two lines,
"208.67.222.222
208.67.220.220"
in /etc/resolv.conf, but it still didn't work,,

what exactly should I put into /etc/resolv.conf?

Thanks again.

Mark
 
Old 12-20-2006, 08:47 AM   #10
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
I am in XP now, and tried ipconfig, and here is some info might be helpful,,

PPP adapter adsl

Connection-specific dns suffic
Ip address……………………………………………:218.82.248.140
Subnet mask………………………………………….255.255.255.255
Default gateway……………………………………….218.82.248.140


Should the 218.82.248.140 something I should put here in /etc/resolv.conf?

I will give it a try anyway..
 
Old 12-20-2006, 08:48 AM   #11
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
my mistake, I forgot to tell you to put "nameserver" before the ip of the nameserver. you have to put nameservers which can resolve names in ip adresses. you have to put these two lines in your /etc/resolv.conf:

Code:
nameserver 208.67.222.222
nameserver 208.67.220.220
these nameservers are working for me, but nameservers of your providers might be faster for you.

M.
 
Old 12-20-2006, 08:50 AM   #12
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
Quote:
Ip address……………………………………………:218.82.248.140
Subnet mask………………………………………….255.255.255.255
Default gateway……………………………………….218.82.248.140
these lines have nothing to do with resolv.conf. resolv.conf contains the list of namservers which are "able to convert www.google.com in the right ip address".

check my last post before this one.

M.
 
Old 12-20-2006, 09:00 AM   #13
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
nslookup command will tell your dns-servers for you in Windows and then put those in resolv.conf... IIRC.
 
Old 12-20-2006, 09:01 AM   #14
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
Something important for you.

PPPOE should be able to provide your /etc/resolv.conf automaticaly. You have the /etc/ppp/pppoe.conf. You should have the following in this file:

Code:
# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=SERVER
if DNSTYPE is SERVER, PPPOE should put new nameservers automaticaly. If it does not, check the log file, there is probably an explaination.

M.
 
Old 12-20-2006, 09:12 AM   #15
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
malo_umoran, thank you so much,, really don't know how to appreciate my thank to you..

I finally to type this in slackware with internet on.. for your last question,, here is what I got from the file
"
# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=NOCHANGE

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS. Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=
DNS2=

# Make the PPPoE connection your default route. Set to
# DEFAULTROUTE=no if you don't want this.
DEFAULTROUTE=yes"

I don't know what is going on, but good for the internet,, now I need to work on mounting the external USB-DVDROM, so I can get all the kernel source...for my usb mouse..
 
  


Reply



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
ATI drivers - few post config issues divukman Debian 3 12-08-2005 03:41 PM
Post Sarge Install Config Question AndeAnderson Debian 1 04-08-2005 03:33 PM
Network Config post installation dcc Slackware 1 03-01-2005 09:48 PM
Post-Install Pre-Config Freeze rtbrownui Linux - Newbie 1 06-22-2004 10:12 PM
Eterm Questions and Config??? post your .cfg file??? boutrosboutros Linux - Software 0 01-19-2004 04:14 PM

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

All times are GMT -5. The time now is 06:03 AM.

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