LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-30-2007, 01:01 PM   #1
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Rep: Reputation: 0
Sony VAIO FZ240E and Slackware 12.0 problems...


Hi all. This is my (obviously) first post on linuxquestions... I only am posting because I have run out of ideas for installing slackware 12.0 on my new laptop. I have slackware on my desktop pc and love it, but I just got a shiny new laptop... Anyway- when I install slackware w/ all packages from the DVD, I can startx and get into KDE just fine. My resolution won't go to 1280x1024 even after editing xorg.conf several times and trying different suggestions from the net. Also, my wireless lan won't work. I read somewhere to modprobe iwl4956 (or is it iwl4965?) and that won't work. My speakers don't work either. I loaded ubuntu on a live CD to see what I might be missing... and I found out (via dmesg) ubuntu was using iwl4956 (or iwl4965... whichever...) for wireless. Why won't this work in slackware? Am I forgetting something somewhere? Can someone set me on the right path to this fix at least? I'm up for anything! Help!



-randall
 
Old 12-30-2007, 02:06 PM   #2
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
hoo boy. you're in for a rough ride (i know i was with with my thinkpad x61t).

i can't help you with the video, but i can definitely help you with the wireless.

start with these 2 things:

http://intellinuxwireless.org/iwlwif...ifi-1.2.23.tgz

and

http://intellinuxwireless.org/iwlwif...-4.44.1.20.tgz

become root.

unzip and untar these. copy the ucode file from iwlwifi-4965-ucode-4.44.1.20 into /lib/firmware.

cd into the iwlwifi-1.2.23 directory and do ./configure, make, and make install.

now type ./load

reboot.

after rebooting, do this command as root: lsmod | less

see if something referencing 4965 is in there.

now, use a text editor to edit /etc/rc.d/rc.inet1.conf

there's a section about wlan0 in there, find it.

uncomment and add info so that it looks like this:

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="WEP_test"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]="HELLO"
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="YOURPASS"
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=example TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

change HELLO to the ssid of your wireless lan. keep it inside quotes. change YOURPASS to your WEP key, keep it inside the quotes. make sure your router is set to use WEP first, so we can at least see if the wirelss is working. WPA will come later.

now, reboot and see if you can get online. let me know how it goes! if it fails, we will try installing the mac80211 stuff from intel's site and possibly skipping WEP altogether and just hoping WPA works (i can explain getting WPA to work better than getting WEP to work).

hang in there, it might be a long road.

Last edited by duhwhat123; 12-30-2007 at 02:13 PM.
 
Old 12-30-2007, 02:12 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What video card does your laptop have ? You may need to to run 'xorgsetup' as root when xserver is not up to better configure xorg. Or you may need to install proprietary drivers for nvidia and sometimes ATI cards.

For the speaker problem, try running 'alsaconf' as root, it'll setup the speakers properly. Then run 'alsactl store' to keep the volume levels, otherwise they will be muted next time you boot.

For your wireless card, can you post the output of '/sbin/lspci', it will give more info on what kind of card it might be. It would also help if you knew what card it has.
 
Old 12-30-2007, 02:30 PM   #4
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
as an aside, if you were to use alsamixer to unmute your sound, the way to do it is to use arrow keys to move around and then press "m" to unmute the speakers and other channels. btw, speakers are all the way at the end, you'll have to press the arrow key about 8 times.

i don't think lspci shows my wireless info, but it seems very likely that he's using the new intel abgn chip.
 
Old 12-30-2007, 03:31 PM   #5
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
it seems very likely that he's using the new intel abgn chip.
Yes, I have the new Intel a/b/g/n wireless chip. Working on that right now. I followed your instructions and got an error when trying to 'make' the iwlwifi-1.2.23. It said I needed the mac80211 subsystem, so I went to the intellinuxwireless website and am currently following their instructions on setup. Hopefully this will work!

As for video/audio problems, I'll update once I finish w/ this. Thanks for all the help!

-randall
 
Old 12-30-2007, 03:52 PM   #6
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Ugh! After installing the mac80211 subsystem and waiting about 20 mins for the kernal 'make all' command, my computer won't boot now. >.>

Reinstalling... (?)

/sigh


edit: now that I think about it... is there a quick/easy way to create a backup for my slack install once I get everything exactly how I like it?

edit2: got my video straightened out and it looks great! also ran alsaconf and got that set up. woohoo. now to tackle this wireless ordeal. :\

Last edited by micah7; 12-30-2007 at 04:38 PM.
 
Old 12-30-2007, 04:44 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You shouldn't always resort to re-install just because the system won't boot. It's quite fixable you know. It's usually that you forgot to edit '/etc/lilo.conf' and then run '/sbin/lilo' after installing a new kernel. Typically you should also keep your old kernel just in case the new one fails to boot, which is quite common.
 
Old 12-30-2007, 04:52 PM   #8
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Yeah, I figured there was a way to fix it... I just don't know my way around linux that well yet.

So how do I go about keeping/making a backup of my old kernel when trying to update? Thanks for all your help btw!

-randall
 
Old 12-30-2007, 05:05 PM   #9
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
heh, i should have noted to stay away from the instructions on that site like the plague. they are too generic, and potentially harmful.

consider upgrading to the hugesmp.s kernel and modules from slackware-current, as this makes the mac80211 package from intel superfluous.
 
Old 12-30-2007, 05:09 PM   #10
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
for backing up your kernel, simply cp it to something else... for example, before you cat the new bzImage to /boot/vmlinuz, do cp /boot/vmlinuz /boot/vmlinuz.old do the same with the /boot/System.map file. remember to make a new entry in /etc/lilo.conf. simply copy your current "Linux" section and paste it, then edit the section to call the choice something else, and point to /boot/vmlinuz.old. after editing, remember to run the command lilo again before rebooting!
 
Old 12-30-2007, 05:14 PM   #11
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
consider upgrading to the hugesmp.s kernel and modules from slackware-current, as this makes the mac80211 package from intel superfluous.
So how do I update to the current kernel from the net? Sorry for so many questions.

edit: figured out how to upgrade. working on that now. woohoo. will post again when I finish. thanks for all the help guys!

Last edited by micah7; 12-30-2007 at 05:38 PM.
 
Old 12-30-2007, 05:41 PM   #12
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
www.slackware.com/getslack pick a mirror

go to the slackware-current directory

and download, for example:

ftp://carroll.cac.psu.edu/pub/linux/...smp-i686-1.tgz

ftp://carroll.cac.psu.edu/pub/linux/...smp-i686-1.tgz

ftp://carroll.cac.psu.edu/pub/linux/...p-noarch-1.tgz

and install them with the command installpkg

run lilo and reboot, should give you the latest kernel
 
Old 12-30-2007, 05:43 PM   #13
duhwhat123
LQ Newbie
 
Registered: Dec 2007
Posts: 16

Rep: Reputation: 0
don't worry about your questions. these are great questions, and i hope someone will try to document these sorts of things in a language understandable by a newbie. it's too difficult to google a topic and find a stepwise instruction that assumes very little. i find a lot of "newbie" guides either assume a lot of knowledge or are for uncommon problems or obsolete hardware.
 
Old 12-30-2007, 06:00 PM   #14
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by duhwhat123 View Post
don't worry about your questions. these are great questions, and i hope someone will try to document these sorts of things in a language understandable by a newbie. it's too difficult to google a topic and find a stepwise instruction that assumes very little. i find a lot of "newbie" guides either assume a lot of knowledge or are for uncommon problems or obsolete hardware.
That's the biggest problem for me! Most of the questions I google around for are answered for ppl running slackware 8 or 9 or go straight to the ubuntu support forums. Go figure. Haha. Updating my kernel now.
 
Old 12-30-2007, 06:23 PM   #15
micah7
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Okay... I just got through updating with installpkg and now my mouse won't work at all when I startx. I tried xorgsetup and ran through it and reset and I still get nothing.

Going to try the suggested method from the UPGRADE.txt file in the ftp. Maybe that will get me up to date and get everything working. Any suggestions?
 
  


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
Sony VAIO problems osc~ Slackware 35 05-12-2007 12:41 AM
Sony VAIOŽ FS742/W Notebook and Slackware Fritz_Monroe Linux - Laptop and Netbook 2 11-14-2005 10:19 AM
Slackware 10 on Sony Vaio laptop Gimzo Slackware 1 07-01-2004 08:56 AM
Appreciate help installing Slackware 9.1 on Sony Vaio PCG-R505JS Matashi Linux - Laptop and Netbook 0 03-14-2004 03:41 AM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration