LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-28-2007, 02:46 PM   #1
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Rep: Reputation: 15
Angry DSL Modem + Printer probs


Just installed Ubuntu 7.0.4.on new slave hard drive on system. This was easier than I thought. Ubuntu took care of the dual boot issues. Problem is, I can not connect to the 'net to try for updates etc + a few extras, like divx codecs so I can play avi files. Both printers are dead, although Ubuntu seems to recognise one of them, indeed, printed a test page from the live disk, prior to installation; now it doesn't want to know.
Prime thing first: the modem is a Seimens Speedstream 4200 (DSL/ADSL)) which connects to the machine either via USB, or Ethernet cable. I use the latter.
 
Old 08-28-2007, 04:23 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Not knowing the setup is the connection to the modem when connected to machine is it a static or dynamic setup?

As for printer check this site to see if it will work under linux and what driver modules it uses. http://www.linux-foundation.org/en/O...SDocumentation

Have you used the cups server page to setup the printers. Goto 127.0.0.1:631 from a web browser to access it.

Brian
 
Old 08-28-2007, 10:38 PM   #3
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Modem dynamic?

I think it is dynamic, i.e: It is in an "always connected to the 'net" state, as long as it has power.
 
Old 08-29-2007, 12:00 AM   #4
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Angry modem vital

Have had a look at sites mentioned; was getting nowhere fast, then found Brother printer site & downloaded driver, in Windows as I can't connect via Linux, and guess what? Windows can't read the file. so getting modem to work is vital first step.
 
Old 08-29-2007, 07:01 AM   #5
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Your modem:
I just looked up your modem's manual (http://www.siemens.com/index.jsp?sdc...72700umc9dnsfp)
It is running a DHCP server, which should make life easy:
So to get connected to the internet, connect with an ethernet cable and try this in a terminal:
sudo ifdown eth0 (Bring the interface down in case it's already (badly) configured)
sudo dhclient eth0 (Ask your modem for an IP address)
Now you should be connected. If not, please post the output of ifconfig and cat /etc/network/interfaces

Your printer:
(K)ubuntu doesn't use cups quite like the other distros do. You cannot access it by http://localhost:631
You need to go to gnome's equivalent of KDE's K-> System Settings-> Printers,
Find and click the "Administrator mode" button, enter your password and then Add your printer
 
Old 08-29-2007, 01:40 PM   #6
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar View Post
Your modem:
I just looked up your modem's manual (http://www.siemens.com/index.jsp?sdc...72700umc9dnsfp)
It is running a DHCP server, which should make life easy:
So to get connected to the internet, connect with an ethernet cable and try this in a terminal:
sudo ifdown eth0 (Bring the interface down in case it's already (badly) configured)
sudo dhclient eth0 (Ask your modem for an IP address)
Now you should be connected. If not, please post the output of ifconfig and cat /etc/network/interfaces

Your printer:
(K)ubuntu doesn't use cups quite like the other distros do. You cannot access it by http://localhost:631
You need to go to gnome's equivalent of KDE's K-> System Settings-> Printers,
Find and click the "Administrator mode" button, enter your password and then Add your printer
Hang on, I am a newbie, first time with Linux, and I do not program. (Nor intend to), so I do not at all understand all this sudo ifdown and sudo dhclient stuff. Can you elaborate please.
 
Old 08-30-2007, 01:42 AM   #7
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Hang on, I am a newbie, first time with Linux, and I do not program.
OK. Nobody is asking you to "program", just give some simple commands.

But this isn't difficult, and you'll have to get used to using a terminal if you are going to have any real fun with linux.

Go to Applications>Accessories>Terminal
And enter the commands I gave in bold above
When it asks for a password, give yours.

Note that you can copy text (eg the output of ifconfig) from the terminal just by highlighting it with your left mouse button.
Then middle-click to paste the copied text into, for example, the reply box in this message forum.
Of course you can also use highlight and then middle-click to copy the commands I gave above from your browswer to the terminal, then press Return to execute them and see what happens. This saves typing and making spelling mistakes.
Give it a go.
 
Old 08-30-2007, 01:15 PM   #8
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks, tried per your suggestion & got this:
Internet Systems Consortium DHCP client v3.0.4
Copyright 2004-2006 Internet Systems Consortium
For info please visit http://www.isc.org/sw/dhcp/

Stosifaddr: No such device.
eth0: Error while getting interface flags: no such device
Bind socket to interface: No such device
l@l-desktop~$

I should add: last night I found network settings, had a look, found ping & tried it. It sent 5 pings 100% o.k. --- It will not now.When I r. click on the top icon, it still tells me I am connected via a wired device. When I click on info re this, I now get a message: resource missing: Glade file.
 
Old 08-30-2007, 01:47 PM   #9
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Just another update: Since I shut down Ubuntu, opened XP to send last message, then restarted in Ubuntu again, I find that in network settings, all the info is there again, with IP address that is nothing like mine, likewise for default routes etc etc.
The ping test is still dead.
Worth mentioning: I am not sure if I took the 0 in eth0 as a zero, or upper case O. This is something they need to "design out" to eliminate these potentials for error.

Last edited by viking1au; 08-30-2007 at 01:53 PM. Reason: Fine, but important point.
 
Old 09-03-2007, 11:49 AM   #10
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Sorry for the delay, been too busy to get back here.
Quote:
I am not sure if I took the 0 in eth0 as a zero, or upper case O. This is something they need to "design out" to eliminate these potentials for error.
It's eth0 as in e t h zero
It doesn't need "designing out" as it works well, and is logical when you also have an eth1 eth2 etc, but I get your point!
This is one of the reasons I suggested "copy & paste" - which you can still do if to copy to a text file, and save that to a USB stick or similar (maybe you have a FAT32 partition - these are very useful for transferring data between operating systems).
If you are using "eth-Oh", maybe that is why you are getting "no such device".
Please try the commands given in post #5 again and post the output of ifconfig and cat /etc/network/interfaces (copy & paste, or you will go mad writing it all down, and may make mistakes).

It is easier for me to fix your problems by editing files than by saying "click this" & "click that", because by reading the files and the outputs you list, I am (usually) able to work out what is wrong, and what needs to be done to make it all work. Pointy-clicky is (usually) fine when I am sat at your computer, which I am not, and don't forget you may be using a window manager which is different from mine (I use KDE) and so your whole visual interface may look and behave completely differently from mine. Eg when you refer to "Network Settings", I am thinking WTF is that?
Files are files though.

One last point, please stop emailing me - I get an automatic notfication of additions to threads I have responed to, so it is not necessary. All I need is the time to read my emails from LQ, and then the time to get back here .
 
Old 09-04-2007, 01:56 PM   #11
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Question real fun time.

Boy! What a fun time! I did all you asked, saved to a fat 32 portion of my other hard drive, but before posting, had a look at it. I saved in Open Office, Word, which I thought would open o.k. in MS Word. When I had a look, you would not believe the garbage I got.! -- Went back to Ubuntu, printed out info on the (working) Canon BJC 265 SP. Is it o.k. to scan these prints & e-mail them to you? Regards.
 
Old 09-04-2007, 04:10 PM   #12
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
I saved in Open Office, Word, which I thought would open o.k. in MS Word.
(tredegar sighs & takes a deep breath,)
It's not OK to use a wordprocessor for these files. You need a text editor.
Wordprocessors are concerned with paragraphs, fonts, italics, tables, images, whatever. You need a text editor - which does just text: Characters, with no formatting whatsoever, apart from line breaks. System files do not want or need any fancy formatting, they are just characters that spell out text. They tell the operating system (linux) what to do in both machine and human readable form. It is wonderfully simple (eventually, you'll see the light and understand. Trust me on this one )
You haven't told me what your window manager is (maybe you could say). I use KDE, so kate or kwrite are my preferred GUI text editors, and from the command line (terminal) I use vi or nano. If you are using gnome, there'll be something similar.

Quote:
When I had a look, you would not believe the garbage I got.!
I do believe it, see above: you need to use a text editor.

Quote:
Is it o.k. to scan these prints & e-mail them to you?
No. It's not OK e-mail them to me because nobody searching for and then reading this thread later would be able to follow what we are doing.
You have a little homework to do before we can progress:

You need to find yourself a very simple text editor. It'll be somewhere in the menus of your window manager (probably under "Utilities" or similar). Learn to use it. The GUI editors are mostly intuitive, but from the terminal there is vi which needs a very short tutorial (google it, and learn the very basics (insert, append, delete, save, quit) - this basic knowledge will get you out of many awkward problems in the future).

Once you have made friends with a text (as opposed to wordprocessing) editor you'll be able to copy & paste, and save (to your FAT32 partition) and post and not see garbage.

This is a little hurdle you need to jump before we can move on. Do your homework and you'll jump it.
 
Old 09-04-2007, 11:16 PM   #13
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
re text etc

O.K. - Ubuntu uses Gnome. Apart from Tomboy notes, I think there is a text editor in there somewhere, remember, this is my first "hands on" with anything Linux. Once I get past this hurdle, I am sure things will fall into place. --- I have a memory stick but Linux does not recognise it. It wants to download a driver, which at present, it can,t.
 
Old 09-04-2007, 11:36 PM   #14
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Try this.- Should be both files. - Regards.

laurence@laurence-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:F3:FD:942
inet addr:220.238.182.43 Bcast:220.238.182.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fefd:94d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3348 (3.2 KiB) TX bytes:4729 (4.6 KiB)
Interrupt:21 Base address:0xb400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

laurence@laurence-desktop:~$
laurence@laurence-desktop:~$ cat/etc/network/interfaces
bash: cat/etc/network/interfaces: No such file or directory
laurence@laurence-desktop:~$
 
Old 09-04-2007, 11:41 PM   #15
viking1au
Member
 
Registered: Jul 2007
Posts: 41

Original Poster
Rep: Reputation: 15
try again, without the smiley face.

Quote:
Originally Posted by viking1au View Post
laurence@laurence-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:F3:FD:942
inet addr:220.238.182.43 Bcast:220.238.182.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fefd:94d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3348 (3.2 KiB) TX bytes:4729 (4.6 KiB)
Interrupt:21 Base address:0xb400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

laurence@laurence-desktop:~$
laurence@laurence-desktop:~$ cat/etc/network/interfaces
bash: cat/etc/network/interfaces: No such file or directory
laurence@laurence-desktop:~$
Now it is telling me the message is too short, lengthen it before posting. Basically a repeat of previous, but without the smiley that obstructed some text. Regards.

Last edited by viking1au; 09-04-2007 at 11:42 PM. Reason: Dont know how that smiley is getting in. I clicked "no icons". Oh well!!!!?
 
  


Reply

Tags
modem, printer, probs


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
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 06:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 09:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 02:04 AM
VSFTPD and DSL router probs nuzzy Linux - Networking 0 02-11-2004 10:37 AM
DSL probs w/ Mandrake 9.0 xds4lx Linux - Networking 3 10-12-2002 06:03 PM


All times are GMT -5. The time now is 12:57 AM.

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