LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Detecting modem in Fluxbox (https://www.linuxquestions.org/questions/linux-newbie-8/detecting-modem-in-fluxbox-516933/)

monkeynuts 01-06-2007 12:54 PM

Detecting modem in Fluxbox
 
I've installed Fluxbox, configured my desktop, torsmo, start up programs etc, however wheat I've not managed to figure out is what to run at start up to automatically detect my modem when I turn it on.

Is there a particular service which I can add to startup to enable this? Or do I have to run some command from the command line?

When I log in to KDE, my modem is automatically detected when I turn it on, and KDE flashes up the KDE Network Monitor box to let me know this has happened.

At the moment, I've had to stupidly log in to KDE to establish my internet connection, and then log out and in to Fluxbox... Surely I'm just being thick! :)

Brian1 01-06-2007 01:34 PM

Not sure if I can help for sure but KDE uses a tool called kudzu to detect hardware.

First what kind of modem? Brand, model, connection type.
Lets try this. With the modem off like you say boot up KDE.
Open a terminal session and run the command dmesg
Now turn on the modem and it is seen by KDE as you say.
Run the command dmesg again and see the difference at the end.

Brian

Junior Hacker 01-06-2007 02:20 PM

Go to linmodems.org and download a small detection tool called scanModem, run it and it will pump out about 8 pages of info to help you figure out if the modem is supported by Linux, if it is...it will also guide you to driver source (software) to get the modem up & running.
Normally the only type of modem that will run without having to compile your own drivers in Linux are serial modems.

monkeynuts 01-06-2007 02:48 PM

Thanks for the replies.

Got to fess up, I wasn't really concentrating when I posted my initial question, so sorry about that - it's a BT Voyager 210 ADSL router. Not an internal modem (duh me). I'm going to replace it at some point, as it's a bit rubbish really...but that's besides the point.

Anyway, I know it is definately compatible, as I've been using in under Linux for quite a while. It's just getting it automatically detected under Fluxbox that's stumping me a bit!

Thanks again for the help so far :)

Brian1 01-06-2007 04:28 PM

Use the search tool here. There are many post on installing that modem here. You may have to read many post but it should start to come together. Never had one so no knowledge of it.

Brian

monkeynuts 01-07-2007 07:59 AM

Brian, Thanks for your advice.

The router, however, is already installed - everything is working fine under KDE.

My internet connection also works if I log in to KDE, establish a connection and then log out of KDE and in to Fluxbox.

However, if I turn my PC on and log straight in to Fluxbox it will not detect when I turn my router on, and will not let me access the internet unless I:

- log out of Fluxbox
- log in to KDE
- turn router off and then on again
- log back in to Fluxbox

Also, I must say that actually installing the modem under MEPIS was a breeze - I basically just turned it on and it worked. Go linux!

:)

Brian1 01-07-2007 02:15 PM

Not used fluxbox so not sure what would be need. Not sure why KDE would be able to detect the modem when turned on. You would have a tool installed callled NetworkManager would you.

Brian

kernel_geek 01-07-2007 02:18 PM

Go into kde look around the menus and look for a tool about something to do with connecting a modem. right click it> propoties > Look at the command it uses and add it to the file: /home/fredrick/.fluxbox/startup

monkeynuts 01-08-2007 01:22 PM

I've worked out that I can run 'mutilities' from a terminal under Fluxbox to activate Eth0 once my router is turned on. Not ideal... I've not tried adding it to /home/USER/.fluxbox/startup yet, but I'll see what happens when I do!

Thanks for the help everyone :)


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