Linux Debian support - Linux newbie with odd DNS problem

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > June 2007 > Linux newbie with odd DNS problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Linux newbie with odd DNS problem
Dodgy

2007-05-15, 1:14 pm

Hi,

I'm sure I'm being a complete newbie, but I'm having a rather odd
problem.

I've been programming for many years, but this is my first serious
venture in Linux, so please be gentle!

Over the weekend I dual booted my ThinkPad R52 from my sarge DVD iso's
I burnt a few weeks ago.

Things didn't go too bad, grub dual booted it fine, and after a bit of
a battle I have finally managed to get my ethernet working (not going
anywhere near the centrino wifi for now, I've seen the scary
webpages!).

BTW I'm running the 2.4 kernel.

Now comes the fun bit... I had to manually add tg3 to the modules to
get my lan working, and I suspect because this wasn't discovered
correctly in the install, I have something crucial missing, just no
idea what.

I setup my ip etc in /etc/network/interfaces

I manually edited /etc/resolv.conf to
Nameserver 192.168.1.1
Which is my router, and the setting that works fine in XP

I can ping my lan.

I can ping the outside world

I can dig URL

I can nslookup URL

BUT (big BUT), in Konqueror I can't browse web pages by URL, only by
IP. If I try urls I get "unknown host www.myurl.com"

I get the same problems with apt-get, it says it can't resolve the
url's, even though manually typing them into nslookup will return the
correct ip's

any ideas?

Ta

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
Linonut

2007-05-16, 1:14 am

After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:

> I manually edited /etc/resolv.conf to
> Nameserver 192.168.1.1
> Which is my router, and the setting that works fine in XP
>
> I can ping my lan.
> I can ping the outside world
> I can dig URL
> I can nslookup URL
>
> BUT (big BUT), in Konqueror I can't browse web pages by URL, only by
> IP. If I try urls I get "unknown host www.myurl.com"


Go to your router's configuration page and look to see what DNS
server(s) it is using.

Add in the DNS values from the router, here's mine:

domain launchmodem.com
nameserver 192.168.109.254
nameserver 205.152.37.23
nameserver 205.152.132.23

In the above, the 192 IP is the DSL router (your 192.168.1.1), and the
other two I got from the router's config page.

I'm not sure if this is optimal, but it works for me.

Chris

--
Sandbox your Windows environment in a QEMU virtual machine.
Dodgy

2007-05-16, 7:13 am

On Wed, 16 May 2007 01:43:45 GMT, Linonut <linonut@bellsouth.net>
waffled on about something:

>After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:
>
>
>Go to your router's configuration page and look to see what DNS
>server(s) it is using.
>
>Add in the DNS values from the router, here's mine:
>
> domain launchmodem.com
> nameserver 192.168.109.254
> nameserver 205.152.37.23
> nameserver 205.152.132.23
>
>In the above, the 192 IP is the DSL router (your 192.168.1.1), and the
>other two I got from the router's config page.
>
>I'm not sure if this is optimal, but it works for me.
>
>Chris


Ta for that Chris, but it didn't seem to change anything.

It's very odd... How can nslookup resolve a URL, and ping
www.something.com not be able to :-/

Anyway as this was a fresh install I decided I'd install it again, and
with the aid of hindsite select tg3 in the network drivers. Which
seems to have done the trick... apt-get can now retrieve installs from
the web, which is a big improvement!

The install failed when I tried to select "desktop" as the type of
system I wanted so I'm now battling through a whole heap of other
problems!

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
Linonut

2007-05-16, 7:13 am

After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:

> Anyway as this was a fresh install I decided I'd install it again, and
> with the aid of hindsite select tg3 in the network drivers. Which
> seems to have done the trick... apt-get can now retrieve installs from
> the web, which is a big improvement!
>
> The install failed when I tried to select "desktop" as the type of
> system I wanted so I'm now battling through a whole heap of other
> problems!


"tg3" rings a bell. What kind of computer is it?

I've gotten a couple of different DELL centrino laptops with Intel
wireless. It is painful to get the wireless working, especially in the
/later/ version, where you have to deal with (1) the driver itself; (2)
the regulatory daemon; and (3) getting the firmware loaded, and, of
course, you need to compile the driver against the kernel source.

Bleh!

--
Microsoft are just like other totalitarian regimes: to remain at the top,
they need to exert absolute control, ruthless suppression of anything
remotely resembling competition, an army of astroturfers, and a
well-oiled propaganda machine. -- Richard Rasker, 4 Oct 2006.
Dodgy

2007-05-16, 7:13 am

On Wed, 16 May 2007 11:07:37 GMT, Linonut <linonut@bellsouth.net>
waffled on about something:

>After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:
>
>
>"tg3" rings a bell. What kind of computer is it?
>
>I've gotten a couple of different DELL centrino laptops with Intel
>wireless. It is painful to get the wireless working, especially in the
>/later/ version, where you have to deal with (1) the driver itself; (2)
>the regulatory daemon; and (3) getting the firmware loaded, and, of
>course, you need to compile the driver against the kernel source.
>
>Bleh!


Thinkpad R52.

The reinstall seemed to do the trick for the network although aptitude
keeps saying anything I want to install will require removal of my
kernel and then a big warning appears saying "this wouldn't be a good
idea!".

Basically it's all acting a bit weird again, but this time the network
works!

It's now booting up to an xwindow logon prompt before going into KDE,
whereas last time it booted straight into the KDE logon prompt which
gave me the option of console.

Having just logged into KDE, I choose logout, which before dropped me
to the console, but now has just left me with a black screen and a
mouse pointer that won't move.

KDE is only running at 800x600 this time. Last time I at least got
1024x768... Pity most of the default boxes for setting up KDE are 600
high so all the OK boxes are behind the taskbar (or whatever it's
called in linux world!).

I found an xorg.conf file online that is supposed to do the R52
1400x1050, but I have an XF86config instead. Looks like the same
layout... So I'm rather confused! (I'm a newbie here remember!).

I think I'm going to do another reinstall from scratch, and hopefully
do the right dance, have the laptop correctly aligned east-west and do
the correct mystic chant.

If not I'll be back into XP and reclaiming that chunk of hard drive
back with partition magic!

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
Dodgy

2007-05-16, 1:14 pm

On Wed, 16 May 2007 12:58:07 +0100, Dodgy
<Dodgy@earth.planet.universe> waffled on about something:

>On Wed, 16 May 2007 11:07:37 GMT, Linonut <linonut@bellsouth.net>
>waffled on about something:
>
>
>Thinkpad R52.
>
>The reinstall seemed to do the trick for the network although aptitude
>keeps saying anything I want to install will require removal of my
>kernel and then a big warning appears saying "this wouldn't be a good
>idea!".
>
>Basically it's all acting a bit weird again, but this time the network
>works!
>
>It's now booting up to an xwindow logon prompt before going into KDE,
>whereas last time it booted straight into the KDE logon prompt which
>gave me the option of console.
>
>Having just logged into KDE, I choose logout, which before dropped me
>to the console, but now has just left me with a black screen and a
>mouse pointer that won't move.
>
>KDE is only running at 800x600 this time. Last time I at least got
>1024x768... Pity most of the default boxes for setting up KDE are 600
>high so all the OK boxes are behind the taskbar (or whatever it's
>called in linux world!).
>
>I found an xorg.conf file online that is supposed to do the R52
>1400x1050, but I have an XF86config instead. Looks like the same
>layout... So I'm rather confused! (I'm a newbie here remember!).
>
>I think I'm going to do another reinstall from scratch, and hopefully
>do the right dance, have the laptop correctly aligned east-west and do
>the correct mystic chant.
>
>If not I'll be back into XP and reclaiming that chunk of hard drive
>back with partition magic!
>
>Dodgy.


Nope, all gone wrong again! lol!

This time I decided to point apt at the ftp sources instead of my
sarge 3.1r5 dvd's, so it wanted to upgrade some serious things which
could nuke my system... This time I let it, and I ended up with a
version 4 system, which was nice... I even got xorg (which I now know
to be the new name for xfree, hence I had the older filename before)
installed, and kde... Which just exploded because of the video
config... A-ha thinks I... I have an xfree.conf file from a nice
website for the R52 on my usb key...

And that's where the trouble started! I couldn't mount the damn key!
lol!
I used to use
mount -t vfat /dev/sda1 /mnt
But now it complains about vfat.. (bangs head against wall).
Interestingly I did get a couple of lines of debug everytime I plugged
in and removed the key. Maybe v4 automatically mounts it somewhere...
No idea where though, nothing under /media or /mnt

Anyway, I rebooted... And oh good, the warning was right, it could
(and did) screw up my system... I had a grub menu with only XP in it!
lol!
At this point I have given up... I tried booting from the DVD with the
hope of finding a way to say "boot from hda3!" so I could attempt a
repair of grub, but I couldn't work out how to do this (I know I used
to do this in Suse many years ago when I last played with linux, but I
couldn't figure it out in Debian).

No more reinstalls for me today or I'll wear out a 60gb hole in the
midlee of my hard drive!

I'm now downloading the debian v4 etch DVD image... It's not the way I
wanted to go... I tend to avoid bleeding edge stuff (I believe it's
called the Vista syndrome). :o)

Having done at least 5 Debian 3.1r5 install attempts over the past few
days I noticed something it always screws up on, the part where you
say what kind of system you want. I always pick desktop, and it always
errors. No details, just said there was a problem. It obviously
manages to install some of the system because when I opted for a raw
base system, 90% of the commands I typed were greeted with "eh? what?
never heard of it" kind of thing...

As I'm not some kind of linux command line guru, I was at a complete
loss how to proceed with a system in that state, short of configure it
as a firewall with a few iptables! (My only other experience with
linux).

Oh well, we'll see tomorrow when the 1st etch dvd finishes and I can
have another go at screwing up my machine!

So all in all dual booting with XP is a doddle, no worries on that
front.
Everything else goes by the motto of "if it can go wrong it will"!

If this learning curve gets any steeper I'd need pitons and
karabiners!

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
AJackson

2007-05-17, 1:14 am

On May 16, 5:14 pm, Dodgy <D...@earth.planet.universe> wrote:
> On Wed, 16 May 2007 12:58:07 +0100, Dodgy
>

There is a good wiki site for IBM Thinkpads. <http://
www.thinkwiki.org/wiki/ Installatio...kP
ad_R52
>
This is also lots of information about Thinkpads: <http://www.linux-on-
laptops.com/ibm.html>
(They hade <http://www.flaggnet.co.uk/debian/
debian_etch_ibm_r52.html> as installation instructions for your
computer)
[vbcol=seagreen]
> Nope, all gone wrong again! lol!
>
> This time I decided to point apt at the ftp sources instead of my
> sarge 3.1r5 dvd's, so it wanted to upgrade some serious things which
> could nuke my system... This time I let it, and I ended up with a
> version 4 system, which was nice... I even got xorg (which I now know
> to be the new name for xfree, hence I had the older filename before)
> installed, and kde... Which just exploded because of the video
> config... A-ha thinks I... I have an xfree.conf file from a nice
> website for the R52 on my usb key...


You should use Debian/Etch (which is the new stable). Especially on
desktop and laptops.

> And that's where the trouble started! I couldn't mount the damn key!
> lol!
> I used to use
> mount -t vfat /dev/sda1 /mnt
> But now it complains about vfat.. (bangs head against wall).
> Interestingly I did get a couple of lines of debug everytime I plugged
> in and removed the key. Maybe v4 automatically mounts it somewhere...
> No idea where though, nothing under /media or /mnt


Do "tail -f /var/log/syslog /var/log/messages" and put your memory
stick
into your computer. There it will tell you which /dev/sdXY device it
is you find it on.


> Anyway, I rebooted... And oh good, the warning was right, it could
> (and did) screw up my system... I had a grub menu with only XP in it!
> lol!
> At this point I have given up... I tried booting from the DVD with the
> hope of finding a way to say "boot from hda3!" so I could attempt a
> repair of grub, but I couldn't work out how to do this (I know I used
> to do this in Suse many years ago when I last played with linux, but I
> couldn't figure it out in Debian).


Should be a "rescue" menu.

> I'm now downloading the debian v4 etch DVD image... It's not the way I
> wanted to go... I tend to avoid bleeding edge stuff (I believe it's
> called the Vista syndrome). :o)


Hmmm. Debian/Etch is not bleadning edge. It is stable Debian.
You do run MS Windows XP and not MS Windows 98, don't you

> Having done at least 5 Debian 3.1r5 install attempts over the past few
> days I noticed something it always screws up on, the part where you
> say what kind of system you want. I always pick desktop, and it always
> errors. No details, just said there was a problem.


Of course. Try install plain old MS Windows 98 or MS Windows XP,
and you have same problems with more modern hardware.

> As I'm not some kind of linux command line guru, I was at a complete
> loss how to proceed with a system in that state, short of configure it
> as a firewall with a few iptables! (My only other experience with
> linux).


If you want to reconfigure a package (like X-server), try this
command:
dpkg-reconfigure -plow xserver-xorg
Which reconfigure debian package xserver-xorg, which is the xserver
Xorg used by Etch.

> Oh well, we'll see tomorrow when the 1st etch dvd finishes and I can
> have another go at screwing up my machine!


You realy only need first CD to boot and install if you have Internet
connection to download packages you need for installation. Otherwise
I guess you only need one DVD or 2-3 CD to make a common installation.

> So all in all dual booting with XP is a doddle, no worries on that
> front.
> Everything else goes by the motto of "if it can go wrong it will"!


Yes, I know the feeling. Like running MS Windows XP...

> If this learning curve gets any steeper I'd need pitons and
> karabiners!




With Debian/Etch you should have a much more easy installation
experiance.

Good luck

Dodgy

2007-05-17, 7:13 am

On 16 May 2007 18:26:12 -0700, AJackson <anders.jackson@gmail.com>
waffled on about something:

>On May 16, 5:14 pm, Dodgy <D...@earth.planet.universe> wrote:
>
>There is a good wiki site for IBM Thinkpads. <http://
>www.thinkwiki.org/wiki/ Installatio...kP
ad_R52
>
>This is also lots of information about Thinkpads: <http://www.linux-on-
>laptops.com/ibm.html>
> (They hade <http://www.flaggnet.co.uk/debian/
>debian_etch_ibm_r52.html> as installation instructions for your
>computer)


Hi there, thanks for that.

I did see the thinkwiki page, unfortunately most if not all the pages
were about etch, and I had the DVD's for Sarge 3.1r5... I thought I
should be able to battle through... Silly me!

Thanks to the office internet connection I now have the first 2 dvd's
of etch... hopefully it's like Sarge and the 3rd disk is just updates
and not essential to the base system install... If so with any luck,
apt-get will be getting a hammering in about an hour :-)

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
Linonut

2007-05-17, 7:13 am

After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:

> lol!
> I used to use
> mount -t vfat /dev/sda1 /mnt
> But now it complains about vfat.. (bangs head against wall).


The debian kernel should have a vfat module already, and install
somethign like "msdosutils" (can't remember the name).

Does lsmod show vfat? If not, what happens when you modprobe vfat?

> No more reinstalls for me today or I'll wear out a 60gb hole in the
> midlee of my hard drive!
>
> I'm now downloading the debian v4 etch DVD image... It's not the way I
> wanted to go... I tend to avoid bleeding edge stuff (I believe it's
> called the Vista syndrome). :o)


Debian etch is /not/ bleeding edge. For that you want lenny, I think
<grin>.

Anyway, when you reinstall, plug in all of the USB hardware you will be
using, including all extra mice and USB keys. That way, the install
will set things up for you.

> Having done at least 5 Debian 3.1r5 install attempts over the past few
> days I noticed something it always screws up on, the part where you
> say what kind of system you want. I always pick desktop, and it always
> errors. No details, just said there was a problem.


If that happens, try Ctrl-Alt-F2 (to get to another console). Debian
will write messages in the background on one of the other virtual
consoles.

> Oh well, we'll see tomorrow when the 1st etch dvd finishes and I can
> have another go at screwing up my machine!


Make sure you can mount the DVD on another machine, first. Also, if it
asks you to do an integrity check, do it.

> If this learning curve gets any steeper I'd need pitons and
> karabiners!
>
> Dodgy.


You are having a bad experience, I agree. Lately Debian has gotten, in
my opinion, as easy to install as its stepchild, Ubuntu.

--
/\ STOP! This post has not passed Microsoft Logo testing to verify its
/ \ compatibility with Microsoft FUD. Microsoft strongly recommends
/ !! \ you stop reading this post, and consult a poster with Logo
/______\ certification. [ Continue Anyway ] [ STOP Reading ]
Dodgy

2007-05-17, 7:13 am

On Thu, 17 May 2007 11:10:47 GMT, Linonut <linonut@bellsouth.net>
waffled on about something:

>After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:
>
>
>The debian kernel should have a vfat module already, and install
>somethign like "msdosutils" (can't remember the name).
>
>Does lsmod show vfat? If not, what happens when you modprobe vfat?
>
>
>Debian etch is /not/ bleeding edge. For that you want lenny, I think
><grin>.
>
>Anyway, when you reinstall, plug in all of the USB hardware you will be
>using, including all extra mice and USB keys. That way, the install
>will set things up for you.
>
>
>If that happens, try Ctrl-Alt-F2 (to get to another console). Debian
>will write messages in the background on one of the other virtual
>consoles.
>
>
>Make sure you can mount the DVD on another machine, first. Also, if it
>asks you to do an integrity check, do it.
>
>
>You are having a bad experience, I agree. Lately Debian has gotten, in
>my opinion, as easy to install as its stepchild, Ubuntu.


OMG!

Now that's what I call an OS install! (Well it could be prettier, a
bit less cga style, but effectiveness 11 out of 10!).

Etch, out of the box... First go... Everything up and running! I have
1400x1050 desktop and it even popped up with a very windows "There are
updates" and is now downloading kernel dependency updates.

There was only one scary type message right towards the end, something
about active swap and suspend or something *shrug*, I told it to leave
it alone.

I haven't tried the USB stick yet, as I only needed that for the
xorg.conf anyway, and it seems to have worked out the R52 perfectly!

If I feel brave I might try us hibernate/suspend and other power
management, but right now I'm looking at a lovely hi-res Gnome desktop
(pity it didn't give me a choice between gnome/kde, then again, I
don't really know enough to make an informed choice, and I must admit
gnome does look very sexy).

Okay, I had to try it... Suspend/resume works... Hibernate works...
:-D

And blimee doesn't Etch boot fast compared to Sarge, and I don't just
mean from hibernate, I mean from cold.

OMG, samba's already there... Blimee, this thing is really a user
desktop out of the box!

I'm a very happy man now... I take everything back!

Time to play! :-D

Thanks to all those who endured my rants!

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
Linonut

2007-05-18, 7:14 pm

After takin' a swig o' grog, Dodgy belched out this bit o' wisdom:

> OMG, samba's already there... Blimee, this thing is really a user
> desktop out of the box!
>
> I'm a very happy man now... I take everything back!
>
> Time to play! :-D
>
> Thanks to all those who endured my rants!


<character name="Hannibal" show="The A-Team" mood="smug">
I love it when a good plan comes together.
</character>

--
Refactor Windows.
AJackson

2007-05-19, 1:15 am

On May 17, 2:05 pm, Dodgy <D...@earth.planet.universe> wrote:
> On Thu, 17 May 2007 11:10:47 GMT, Linonut <lino...@bellsouth.net>

Agree, but that was becouse he used an old version of Debian
[vbcol=seagreen]
> OMG!
>
> Now that's what I call an OS install! (Well it could be prettier, a
> bit less cga style, but effectiveness 11 out of 10!).


You can install using a graphical environment. Only difference is
estetical.
But if you want it, you type "graphicinstall" (or something like that)
when the
installation CD/DVD boots up.

> Etch, out of the box... First go... Everything up and running! I have
> 1400x1050 desktop and it even popped up with a very windows "There are
> updates" and is now downloading kernel dependency updates.


Nice! ;-)

> I haven't tried the USB stick yet, as I only needed that for the
> xorg.conf anyway, and it seems to have worked out the R52 perfectly!


Should work automaticly. Just plug the stick in and it should
show up on your Gnome desktop.

> If I feel brave I might try us hibernate/suspend and other power
> management, but right now I'm looking at a lovely hi-res Gnome desktop
> (pity it didn't give me a choice between gnome/kde, then again, I
> don't really know enough to make an informed choice, and I must admit
> gnome does look very sexy).


Gnome is ok, I like it a lot. There is three different Debian/Etch
installation CD number one.
Each have a different default desktop environment. Gnome, KDE and
Xfce. It is just
to choose "right" CD
Anyway, those other desktop environments are only an "sudo aptitude"
away.

> Okay, I had to try it... Suspend/resume works... Hibernate works...
> :-D


Greate news! I can't get my HP Pavilion zd8000, to suspend, but it
hibernate ok.

> OMG, samba's already there... Blimee, this thing is really a user
> desktop out of the box!


> I'm a very happy man now... I take everything back!


> Time to play! :-D


> Thanks to all those who endured my rants!


No problems. Happy that there is one more happy Debain user

Good luck

Dodgy

2007-05-22, 1:14 pm

On 18 May 2007 18:02:32 -0700, AJackson <anders.jackson@gmail.com>
waffled on about something:

<much snippidge>

>
>
>
>No problems. Happy that there is one more happy Debain user
>
>Good luck


I'm still a happy man.

The good...

Wifi is now working... Pity Airsnort doesn't seem to want to play,
but I suspect that's down to the centrino drivers, I'll have to have a
dig about and see if I can find a more open wifi pc card.

I've got skype and gaim so I can talk to the world. Iceweasel is now
all configured up just like my XP firefox, so it's home from home.
Although I do have my suspicions that the session saving doesn't work
in Iceweasel for some reason.

I love rdesktop... It's actually more responsive when I access my
win2k3 server than the genuine XP client! LMAO!
I love the irony that if I have to do something remotely to my Win2k3
server, it's actually faster and easier to boot the laptop into Linux
than wait for it to load XP!

Just a pity you can't store some of the more advanced settings in the
config file... I always have to say "it's xp/2003" and "I want console
access". In windows I have a batch file that sets all the right
settings. I guess I'll have to get brave and try the same with
rdesktop at some point :-)


The bad...

HP's printer driver install is crap though... It said had some missing
dependences, so I apt-get everything it wants, and it still says it's
missing the same things... I still see the hp stuff unload when I shut
the machine down.

And that's the full HP installer they offer... I'm so glad I didn't
try the manual install they also had!

Hey, HP, your Linux drivers s*ck! Maybe I should go buy an Epson.

:o)


The I'm not so sure...

Speedstep... I installed something called cpufreqd, but I don't think
it's working. I really would like a way to interact from gnome and be
able to change the CPU settings like I could from XP with the IBM
tools. It's a hot old day here in the UK, and the office aircon has
died from the shock of actually being required... I'd like to crank
the Laptop CPU down a notch or two as the right hand side of the case
is getting alarmingly hot.

Does anyone have any experience of this with Etch and a ThinkPad R52?


All in all a very happy experience. I really should have timed the
Etch install, I wasn't expecting an "out of the box" successful
install after the fun I had with Sarge, but I'm pretty sure even with
me opting for a desktop environment and it installing Gaim,
OpenOffice2, rdesktop (thank you very much) it would have beaten an XP
install.

So a big pat on the back to all the Etch dev peeps, as far as the
Thinkpad R52 is concerned, a job well done.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
AJackson

2007-05-23, 7:14 pm

On May 22, 3:44 pm, Dodgy <D...@earth.planet.universe> wrote:
> On 18 May 2007 18:02:32 -0700, AJackson <anders.jack...@gmail.com>
> waffled on about something:


> I'm still a happy man.
>
> The good...
>
> Wifi is now working... Pity Airsnort doesn't seem to want to play,
> but I suspect that's down to the centrino drivers, I'll have to have a
> dig about and see if I can find a more open wifi pc card.


Have not tried Airsnort, only kismet.

> I've got skype and gaim so I can talk to the world. Iceweasel is now
> all configured up just like my XP firefox, so it's home from home.
> Although I do have my suspicions that the session saving doesn't work
> in Iceweasel for some reason.


Have seen this with Iceweasel too. Not bother to scratch it to much
though...

> I love rdesktop... It's actually more responsive when I access my
> win2k3 server than the genuine XP client! LMAO!
> I love the irony that if I have to do something remotely to my Win2k3
> server, it's actually faster and easier to boot the laptop into Linux
> than wait for it to load XP!


Cool

> Just a pity you can't store some of the more advanced settings in the
> config file... I always have to say "it's xp/2003" and "I want console
> access". In windows I have a batch file that sets all the right
> settings. I guess I'll have to get brave and try the same with
> rdesktop at some point :-)


Hmmm, you SHOULD be able to save a configuration. But I'm not a MS
Windows users, so I don't know.

> The bad...
>
> HP's printer driver install is crap though... It said had some missing
> dependences, so I apt-get everything it wants, and it still says it's
> missing the same things... I still see the hp stuff unload when I shut
> the machine down.


Hmmm...
Which packages? Which printer?
What stuff do you see? Look at log filers under /var/log/ as it
should be in one file there.

> And that's the full HP installer they offer... I'm so glad I didn't
> try the manual install they also had!


Sorry, but I don't know what they offer and what you use. Any URL or
other information we can use to help you?

> The I'm not so sure...
>
> Speedstep... I installed something called cpufreqd, but I don't think
> it's working. I really would like a way to interact from gnome and be
> able to change the CPU settings like I could from XP with the IBM

....
> is getting alarmingly hot.


There are some different programs to adjust this. But there is some
modules in the kernel that you just load and it adjust CPU freq.
according some polices that the module uses.
And yes, there is a program you can add to your panel in Gnome that
let you see and adjust CPU freq (I guess, Im not lucke enough to have
this work on my laptop, only my desktop)

But has you looked at that Linux for thinkpad web page I gave you?
Should have some usefull infor from there about this.

> Does anyone have any experience of this with Etch and a ThinkPad R52?


Look at these web pages. You should be able to find lots of info
about others using a ThinkPad there...
http://www.thinkwiki.org/wiki/ThinkWiki
http://t.webring.com/hub?ring=linuxthinkpad
http://www.linux-laptop.net/
http://tuxmobil.org/mylaptops.html

> All in all a very happy experience. I really should have timed the
> Etch install, I wasn't expecting an "out of the box" successful
> install after the fun I had with Sarge, but I'm pretty sure even with
> me opting for a desktop environment and it installing Gaim,
> OpenOffice2, rdesktop (thank you very much) it would have beaten an XP
> install.


Sounds good. I heard this from others users too.
(I do not count me in, becouse I usally can fix problems in Debian/Sid
(Sid = Unstable) myself)

> So a big pat on the back to all the Etch dev peeps, as far as the
> Thinkpad R52 is concerned, a job well done.


Thinkpad's seems to be popular amoung linux devellopers.

Good luck

Dodgy

2007-05-24, 7:14 am

On 23 May 2007 15:38:29 -0700, AJackson <anders.jackson@gmail.com>
waffled on about something:

>On May 22, 3:44 pm, Dodgy <D...@earth.planet.universe> wrote:
>
>
>Have not tried Airsnort, only kismet.


Solved! Even though Airsnort is sitting in my user applications menu
in gnome, where it put itself, I can't run it from there. I have to
run it from a root console, and then it's happy.
Driver type: Host AP/Orinocco seems to be working fine, although it
doesn't seem to work if I tell it to watch only one channel. If I
leave it on scan it sniffs away happily.

>
>Have seen this with Iceweasel too. Not bother to scratch it to much
>though...


Solved, thanks to a quick google... It appears it's a quirk if you
don't have a startup page set. I set mine to google.com, told tab-mix
plus to use it's own session manager, and there it was.

>
>Cool
>
>
>Hmmm, you SHOULD be able to save a configuration. But I'm not a MS
>Windows users, so I don't know.


You can save it, but it doesn't store the password, even if you have
save password checked (that I can live with). The annoying bit it is
doesn't save the "I'm connecting to a win2k3 server" and the "I'd like
console level access please". It's annoying, but not a show stopper.

>
>Hmmm...
>Which packages? Which printer?
>What stuff do you see? Look at log filers under /var/log/ as it
>should be in one file there.


A linux friendly friend of mine said I probably need build-essentials.
So I apt-get'd that, and then the HP install started giving me more
and more missing dependences... I added them one by one... Eventually
it installed.

Got everything set, only now I'm having problems getting past the
windows share security for the network printer... Oh, and I have a
printer list showing 4 HP LJ 2100's, and I can't seem to delete any of
them! Each time I have another stab at it I just add another to the
collection! lol! The right click has a remove option, but it's always
grayed out.

>
>Sorry, but I don't know what they offer and what you use. Any URL or
>other information we can use to help you?


The driver I'm trying is the select extracting with installer from
http://hplip.sourceforge.net/downloads.html I didn't realise until
just now it was on sourceforge, I'd just followed a trail of about 27
links from the HP site and ended up there.

As I said earlier, I've now managed to get it installed, but can't
seem to get past the windows share security, or delete any of my
failed attempts from the printer list.

As slight aside, how do you uninstall something from linux that you
haven't installed via apt-get?

>...
>
>There are some different programs to adjust this. But there is some
>modules in the kernel that you just load and it adjust CPU freq.
>according some polices that the module uses.
>And yes, there is a program you can add to your panel in Gnome that
>let you see and adjust CPU freq (I guess, Im not lucke enough to have
>this work on my laptop, only my desktop)
>
>But has you looked at that Linux for thinkpad web page I gave you?
>Should have some usefull infor from there about this.


Yes thanks, I think I've looked at all of the R52 linux related pages
on the entire internet (been trying to get my webcam working! I'll
save that for another day! lol!).
I've added cpufreqd to the modules list, and I see it flash past as I
boot the laptop up, unfortunately it flashes past in bright red and
the word "failure" I think... Bit hard to tell, it moves past a bit
quick.

Do you know what the gnome cpu config app is called? I've tried every
search term I can think of in the synaptic package manager and haven't
been able to spot it.

>
>Look at these web pages. You should be able to find lots of info
>about others using a ThinkPad there...
>http://www.thinkwiki.org/wiki/ThinkWiki
>http://t.webring.com/hub?ring=linuxthinkpad
>http://www.linux-laptop.net/
>http://tuxmobil.org/mylaptops.html
>
>
>Sounds good. I heard this from others users too.
>(I do not count me in, becouse I usally can fix problems in Debian/Sid
>(Sid = Unstable) myself)


Ah, you are one of the 1337 then :o)

>
>Thinkpad's seems to be popular amoung linux devellopers.


They're nice machines, I've had several. The nicest thing is they use
known hardware, so it's usually not too bad to get drivers. Not like
these budget models where you spend weeks trying to work out what
sound chip the damn things use!

Oh, and you can get spare parts like keyboards (I accidentally
introduced my old one to a pint of lager).

Thanks for all your assistance... It really is looking good. I'm
thinking about installing Lazarus/FPC on it and having a play. I'm a
Delphi (Pascal) programmer at heart, so it would be nice to have that
on there to amuse myself instead of squinting at C++ and feeling my
brain slowly ooozing out of my ears! lol!

I wonder what the Linux Open Source community would make of source in
pascal? :-/

Dodgy.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
AJackson

2007-05-29, 1:13 am

On May 24, 11:50 am, Dodgy <D...@earth.planet.universe> wrote:
> On 23 May 2007 15:38:29 -0700, AJackson <anders.jack...@gmail.com>
> waffled on about something:
>
>
> Solved! Even though Airsnort is sitting in my user applications menu
> in gnome, where it put itself, I can't run it from there. I have to
> run it from a root console, and then it's happy.
> Driver type: Host AP/Orinocco seems to be working fine, although it
> doesn't seem to work if I tell it to watch only one channel. If I
> leave it on scan it sniffs away happily.


Hmm, might try this myself.

>
> Solved, thanks to a quick google... It appears it's a quirk if you
> don't have a startup page set. I set mine to google.com, told tab-mix
> plus to use it's own session manager, and there it was.


Oh, that sound like something one can do to solve this
Thanks!

>
>
>
> A linux friendly friend of mine said I probably need build-essentials.
> So I apt-get'd that, and then the HP install started giving me more
> and more missing dependences... I added them one by one... Eventually
> it installed.
>
> Got everything set, only now I'm having problems getting past the
> windows share security for the network printer... Oh, and I have a
> printer list showing 4 HP LJ 2100's, and I can't seem to delete any of
> them! Each time I have another stab at it I just add another to the
> collection! lol! The right click has a remove option, but it's always
> grayed out.
>
>
>
> The driver I'm trying is the select extracting with installer fromhttp://hplip.sourceforge.net/downloads.htmlI didn't realise until
> just now it was on sourceforge, I'd just followed a trail of about 27
> links from the HP site and ended up there.
>
> As I said earlier, I've now managed to get it installed, but can't
> seem to get past the windows share security, or delete any of my
> failed attempts from the printer list.
>
> As slight aside, how do you uninstall something from linux that you
> haven't installed via apt-get?


It depends. If you installed with "make install" there usally are a
"make uninstall" that undo the installation.
If not, you have to undo the installation yourself. Take a look into
file "makefile" or "Makefile". There you might be able to see where
stuff is installed.

>
> Yes thanks, I think I've looked at all of the R52 linux related pages
> on the entire internet (been trying to get my webcam working! I'll
> save that for another day! lol!).


Might be an easy one. Which brand of webcam? (try "lsusb" if it has
USB-insterface to get some usefull info).

> I've added cpufreqd to the modules list, and I see it flash past as I
> boot the laptop up, unfortunately it flashes past in bright red and
> the word "failure" I think... Bit hard to tell, it moves past a bit
> quick.


Try "more /var/log/messages" and/or "more /var/log/dmesg"
Have a look in "ls /lib/modules/2.6.18-4-amd64/kernel/arch/x86_64/
kernel/cpufreq/"
and "ls /lib/modules/2.6.18-4-amd64/kernel/drivers/cpufreq/"
Also try "modinfo speedstep-centrino"

You need modules, one dependent on which CPU you use and then on
dependent on which policy you want to use, like "cpufreq_ondemand"
That is actually all you should need in your /etc/modules, have a look
in thinkpad wiki site.

> Do you know what the gnome cpu config app is called? I've tried every
> search term I can think of in the synaptic package manager and haven't
> been able to spot it.


Hmm, cpufreq-app ?

>
> Ah, you are one of the 1337 then :o)


Nope, I work with Debian. For money

>
>
> They're nice machines, I've had several. The nicest thing is they use
> known hardware, so it's usually not too bad to get drivers. Not like
> these budget models where you spend weeks trying to work out what
> sound chip the damn things use!


> Oh, and you can get spare parts like keyboards (I accidentally
> introduced my old one to a pint of lager).


Oh, that was bad, realy bad. Pity on a good pint of lager

> Thanks for all your assistance... It really is looking good. I'm
> thinking about installing Lazarus/FPC on it and having a play. I'm a
> Delphi (Pascal) programmer at heart, so it would be nice to have that
> on there to amuse myself instead of squinting at C++ and feeling my
> brain slowly ooozing out of my ears! lol!
>
> I wonder what the Linux Open Source community would make of source in
> pascal? :-/


Depends on the application.

Might need some libraries for libdbus and such

Good luck

Dodgy

2007-05-29, 7:12 am

On 28 May 2007 18:17:25 -0700, AJackson <anders.jackson@gmail.com>
waffled on about something:

>On May 24, 11:50 am, Dodgy <D...@earth.planet.universe> wrote:
>
>Hmm, might try this myself.
>
>
>Oh, that sound like something one can do to solve this
>Thanks!
>
>
>It depends. If you installed with "make install" there usally are a
>"make uninstall" that undo the installation.
>If not, you have to undo the installation yourself. Take a look into
>file "makefile" or "Makefile". There you might be able to see where
>stuff is installed.
>
>
>Might be an easy one. Which brand of webcam? (try "lsusb" if it has
>USB-insterface to get some usefull info).
>
>
>Try "more /var/log/messages" and/or "more /var/log/dmesg"
>Have a look in "ls /lib/modules/2.6.18-4-amd64/kernel/arch/x86_64/
>kernel/cpufreq/"
>and "ls /lib/modules/2.6.18-4-amd64/kernel/drivers/cpufreq/"
>Also try "modinfo speedstep-centrino"
>
>You need modules, one dependent on which CPU you use and then on
>dependent on which policy you want to use, like "cpufreq_ondemand"
>That is actually all you should need in your /etc/modules, have a look
>in thinkpad wiki site.
>
>
>Hmm, cpufreq-app ?
>
>
>Nope, I work with Debian. For money
>
>
>
>Oh, that was bad, realy bad. Pity on a good pint of lager
>
>
>Depends on the application.
>
>Might need some libraries for libdbus and such
>
>Good luck


Hi Anders, thanks for the continuing assistance. I haven't had a
chance to play with the cpufreq bits yet, but I do have an odd problem
that's just turned up.

I've lost some of my sound... Gaim is happily making all the gaim
sounds when I get messages, but I can't get any sound from anything
else. Totem was working, but now mp3s and movies are silent. The
volume monitor lights don't even flicker. No sound from youtube or
anything like that either, but to be honest I can't say if there ever
was or not, but I know Totem used to work fine. I remember being
impressed by the wide range of codec support out of the box.

I did a reinstall of alsa, no change. I installed the alsamixergui,
and it's showing Card: Intel ICH6 Chip: Analog devices AD1981B.

So all looks fine (I think!), except Gaim seems to be the only app
that can make sounds.

Any ideas? Anything diag I can do? I've tried to watch the boot up for
any "bad" messages, but the only red one is cpufreqd that I mentioned
last time.

I know what you're going to ask now "What did you change?" ummm..
Nothing to do with sound that I know of, although I have been
unsuccessfully throwing libraries at spca5xx and spcaview trying to
make my webcam work! Logitech quickcam pro for notebooks, which is on
the "works" list... Grrr!

Oh, and I had to install realplayer so I could watch the BBC's
streaming, the only options being one of the later WMV formats or
realplayer. Talk about rock and a hard place!

Oh, one last question so I can copy/paste the logs for the cpufreq
prob, can you recommend a good usenet client for gnome? I currently
use Forte Agent in windows, so something like that would be great.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
AJackson

2007-05-29, 1:12 pm

On May 29, 12:53 pm, Dodgy <D...@earth.planet.universe> wrote:
> On 28 May 2007 18:17:25 -0700, AJackson <anders.jack...@gmail.com>
> waffled on about something:


>
> Hi Anders, thanks for the continuing assistance. I haven't had a
> chance to play with the cpufreq bits yet, but I do have an odd problem
> that's just turned up.
>
> I've lost some of my sound... Gaim is happily making all the gaim
> sounds when I get messages, but I can't get any sound from anything
> else. Totem was working, but now mp3s and movies are silent. The
> volume monitor lights don't even flicker. No sound from youtube or
> anything like that either, but to be honest I can't say if there ever
> was or not, but I know Totem used to work fine. I remember being
> impressed by the wide range of codec support out of the box.


Try those commands:
ls /proc/asound
cat /proc/asound/cards
lspci
lsmod | grep snd

> I did a reinstall of alsa, no change. I installed the alsamixergui,
> and it's showing Card: Intel ICH6 Chip: Analog devices AD1981B.
>
> So all looks fine (I think!), except Gaim seems to be the only app
> that can make sounds.


Check which sound system/device is set in you multimedia settings in
Gnome. Should be ALSA.
Are you running esd sound mixer?
Do you have libesd-alsa0 installed? It should remove package libesd,
which is what you want.

> Any ideas? Anything diag I can do? I've tried to watch the boot up for
> any "bad" messages, but the only red one is cpufreqd that I mentioned
> last time.


Good thinking. Have you looked into the log files? /var/log/*

> I know what you're going to ask now "What did you change?" ummm..
> Nothing to do with sound that I know of, although I have been
> unsuccessfully throwing libraries at spca5xx and spcaview trying to
> make my webcam work! Logitech quickcam pro for notebooks, which is on
> the "works" list... Grrr!


What USB id does it have (lsusb will give you that. My scanner has
USB numbers 03f0:0701)
You might want to have a look at gspca-modules-2.6 instead of
spca5xx. Modules gspca is packed in Debian/Etch.

> Oh, and I had to install realplayer so I could watch the BBC's
> streaming, the only options being one of the later WMV formats or
> realplayer. Talk about rock and a hard place!


Hmm. I think those are packed in the repository at http://www.debian-multimedia.org/
I use that one all the time. Just install package debian-multimedia-
keyring and add this file to directory /etc/apt/sources.list.d/
=================== cut etch-debian-multimedia.list
===================
########################################
##########
#
# Extra multimedia packages Debian
# from http://www.debian-multimedia.org/
#
##############################
#
# Etch
#
# sudo aptitude install debian-multimedia-keyring
# to get repository keys.
#
# Please use mirror
#
deb http://www.debian-multimedia.org etch main
deb-src http://www.debian-multimedia.org etch main

#
# eof
#
=================== cut etch-debian-multimedia.list
===================

> Oh, one last question so I can copy/paste the logs for the cpufreq
> prob, can you recommend a good usenet client for gnome? I currently
> use Forte Agent in windows, so something like that would be great.
>
> Dodgy.


I use http://groups.google.com/group/alt.os.linux.debian/ or Emacs/
Gnus
I guess you would like to try some other.

I do have this in my /etc/modules
=====================cut /etc/modules ==============
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
nvidia
p4_clockmod
cpufreq_userspace
cpufreq_ondemand
cpufreq_conservative
cpufreq_powersave
=====================cut /etc/modules ==============

AJackson

2007-06-02, 7:14 pm

On May 30, 2:45 pm, Dodgy <D...@earth.planet.universe> wrote:
> On 29 May 2007 10:06:26 -0700, AJackson <anders.jack...@gmail.com>
> waffled on about something:


>
> *** You can skip all this bit Anders, the mission was successful, I
> just including the info I obtained step by step in this reply in case
> it was of any interest/use.


Sounds good

> $ ls /proc/asound
> card0 card1 cards devices ICH6 Modem modules oss pcm seq
> timers version
>
>
> $ cat /proc/asound/cards
> 0 [ICH6 ]: ICH4 - Intel ICH6
> Intel ICH6 with AD1981B at 0xb0000800, irq 185
> 1 [Modem ]: ICH-MODEM - Intel ICH6 Modem
> Intel ICH6 Modem at 0x2400, irq 225


OK, two sound cards (second is a modem though)

>
> $ lspci
> 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
> Express Processor to DRAM Controller (rev 03)


> 00:1e.2 Multimedia audio controller: Intel Corporation
> 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
> 00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
> AC'97 Modem Controller (rev 03)


And there they where.

>
> $ lsmod | grep snd

Modem device driver
> snd_intel8x0m 15980 0

OSS support (realy not needed)
> snd_pcm_oss 38368 1
> snd_mixer_oss 15200 1 snd_pcm_oss

Sound card driver
> snd_intel8x0 30332 2

Rest standard parts for ALSA

That is as it should be
[vbcol=seagreen]
>
>
> The multimedia sound system is set to ALSA. If I press test I get
> "ALSA - Advanced Linux Sound Architecture:
> resource busy or not available

Prob. busy, becouse you use libesd0 (the OSS version) and not linesd-
alsa0 (the ALSA version).

> If I change it to ESD and press test, I get a tone. :-/

Yes, becouse you are useing the software mixer esd.
Which in turn uses OSS sound API, not ALSA.

>
> Don't know how to tell if I'm running esd sound mixer! Where do I
> look?

Many ways, top, ps, or look into your settings for Gnome sound
effects.

>
> I didn't have libesd-alsa0 installed. I added it and it said it would
> remove libesd0

So did you continue with the installation? It is suppose to remove
libesd0 whem installing libesd-alsa0.

> Multimedia alsa test still errors, I'll try a reboot.

As I wrote, It's becouse you are using OSS version of libesd0. I would
guess that when you use esd, it locks sound device when using OSS.

> Reboot update: YAY! I have sound!
> Amusingly due to total fluke on the mp3 I picked, and where I happened
> to whizz the position to, the first sound out was the foo fighters
> singing "it's times like these you learn to live again" lol...


Some (most of the?) time life is better than fiction
You should only be needed to log out and in again to make it work.

> Now I'm puzzled how it used to work, and why it suddenly stopped. I
> certainly haven't been removing modules, I'm still too full of "I
> don't know what that does" fear!
>
> *** Okay, stop skipping!
>
>
>
> Any one in particular! There appear to be loads of files in there!
> I know this must be like pulling teeth, but I'm really rather out of
> my comfort zone here. Even more frustrating as I can happily run rings
> round most people as a windows programmer and cut my teeth writing
> TSRs in DOS.


Just peek around. Noone will kick your teeth out for doing that
I would go for messages, syslog and dmesg (and some more) as most
important, but not only you should look inteo. Good thing with Linux/
Unix is that config and log files are only plain text files. Meant to
peek into. So start peeking

[vbcol=seagreen]
> I'll have to try that later, I don't have the webcam with me at work.


>
> <snip>
>
> Ta, I'll have a look at that.


[vbcol=seagreen]
> I didn't want to go the online route, I'm much more of an offline
> reader, one of the reasons I really like forte agent in windows, it's
> a good old fashioned app with no stupid skins that does what it's
> supposed to.


Emacs Gnus is good at that. UI based around text, but realy good when
you get the hang of it (which helps when you/if you use Emacs often)

>
>
> Mine only has
> loop
> sbp2


No problems, just add those. You could try "sudo modinfo p4_clockmod"
and/or "sudo modprobe p4_clockmod" etc. If that works, put proper
stuff in the file. It's all text files, remember ;) Yes, always make
a backup of working config files, but you should know that all ready.

/Jackson

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com