LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 11:07 AM   #1
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
linux-based embedded controller


i'm a degree student and now i'm doing my final year project (thesis) about linux-based embedded controller.

any suggestion or information for me ? i just installed debian 4.0 on my pc and have try the gcc compiler.i also learn how to control a wireless router from the terminal, using "shh" command.
 
Old 08-29-2007, 11:33 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
You seem to be starting from far down the learning curve. Tell us more about the target architecture, and the application, and perhaps we can fast-track you to the end goal.
--- rod.
 
Old 08-29-2007, 09:06 PM   #3
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
door access control

Quote:
Originally Posted by theNbomr View Post
You seem to be starting from far down the learning curve. Tell us more about the target architecture, and the application, and perhaps we can fast-track you to the end goal.
--- rod.
so far,i have been provided an ATX motherboard with voyage-linux installed and ASUS WL-500 Premium wireless multi-function router.i can connect various usb device to the router.the wireless router have already configured with openwrt.

my application:
1.card reader-read input(seriel number),it must match the database
2.image capture-capture the person image each time he/she access the card
reader.

my supervisor suggest me using Local Area Network.after succes, then i can procedd to internet(server,SQL,ftp-server,etc).

so, to build my own LAN, can i use the wireless router as a modem and connect with:
1.my pc(debian4.0)
2.ATX motherboard(voyage)

at my room, wired-internet is not available.only wireless.

if i successfully run the above application,i can add another application(you can suggest some for me).

Last edited by alanpjs2; 08-29-2007 at 09:08 PM.
 
Old 08-29-2007, 09:43 PM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
If you want to connect your network to a wireless access point in your building I think you need to put the router in client mode.

What version of OpenWRT do you have? White Russian or Kamikaze? Kernel 2.4 or 2.6?
 
Old 08-30-2007, 12:57 AM   #5
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
the router was configured by a staff.i will told u after i asked him.

i just want to know is it possible for building networking (wired-LAN)without involved access point?i just want to connect 2 linux-pc.

the acces point near my building is provided by private-cybercafe.i must rent it if i want 2 use it.another wireless is WiFi provided by my university.but it's configuration will assign ip address automatically.

one more.how to assign my own ip address on my pc?

Last edited by alanpjs2; 08-30-2007 at 12:59 AM.
 
Old 08-30-2007, 01:52 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by alanpjs2 View Post
i just want to connect 2 linux-pc.
Get a crossover cable. Like an ordinary ethernet cable but with wiring switched for direct PC to PC connection.

If there are just 2 PCs you can give them any IP numbers you like. Some distros will provide some sort of GUI interface to set the IP number. For others it is set in a configuration file somewhere. On Debian systems it is /etc/network/interfaces.

It is a bit hard to understand what you are trying to do. Your english is OK, but what you are asking seems to change on each post. Maybe you need to find a basic primer on setting up small linux networks.

Last edited by maroonbaboon; 08-30-2007 at 01:53 AM.
 
Old 08-30-2007, 10:34 AM   #7
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by maroonbaboon View Post

It is a bit hard to understand what you are trying to do. Your english is OK, but what you are asking seems to change on each post. Maybe you need to find a basic primer on setting up small linux networks.
yeah.now i want to set up small linux networks on my own.

before this i had a short training/"kickstart" about linux programming.but it was held at a lab,complete with linux pc,internet and other devices at CAIRO Kuala Lumpur.but it's only for 2 days.The rest, i must work on my own.

That's why I must start again from zero.i think it's easier if i just use swicth/hub for LAN.(configuring the wireless router is rather a tedious process)

about OpenWrt:
the version is White Russian, kernel 2.4. I've tried typing the ip address in Mozilla browser,and changed setting from AP to client mode..and some other wireless setting.then i tried typing the wireless-router ip address in Mozilla again, but this time only "It works!" appeared.i'm confused.

ps: CAIRO is abb. of Centre of Artifical Intelligence and Robotics.

Last edited by alanpjs2; 08-30-2007 at 11:01 AM.
 
Old 08-30-2007, 06:39 PM   #8
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by alanpjs2 View Post
but this time only "It works!" appeared.
Better than nothing

Sorry, I have Kamikaze version here, and haven't used client mode, so I don't know what to expect. The documentation for the web interface is here.

If you plug your 2 PC's into two of the router's LAN ports, they will be connected to each other, and if you can get client mode working on the router, they will both be connected to the internet through the wireless. But you will need to know a bit about networks to set everything up to work together.
 
Old 08-30-2007, 10:41 PM   #9
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
it is difficult for me to learn basic networking in linux.so, to know the network basic, i use Windows environment.I open IE in Windows XP and type the router address.the openwrt page appeared.(so, why in linux it can't be opened?)

I plug 2 PC (Windows XP) into two of the router's LAN ports,then go to the "home network" setting.I successfully building LAN connection between them(easier than linux),but don't know how to set up internet connection.

WAN port at the router is for what?
 
Old 08-30-2007, 11:20 PM   #10
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by alanpjs2 View Post
it is difficult for me to learn basic networking in linux.
Put

linux "home network"

into Google for some entry-level tutorials on small networks.

Quote:
but don't know how to set up internet connection.
If I understand your situation correctly, you have to put the router in client mode, as described in the OpenWRT documentation. If you cannot follow that you probably need to go back and read some of the more basic documentation on OpenWRT. OpenWRT is not for beginners, but it sounds like you have no choice.

Quote:
WAN port at the router is for what?
WAN port is for wired connection to external (Wide-Area) network, e.g. through cable modem.
 
Old 09-01-2007, 09:40 AM   #11
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
ok.i got useful information from www.linuxhomenetworking.com and i successfully building LAN between 2 linux-pc.so, i think i can move for configuring wireless-internet connection.

what software i must use (from debian package) or what command in terminal i must use?
what client mode i must use,bridged or routed.
 
Old 09-01-2007, 09:16 PM   #12
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by alanpjs2 View Post
what software i must use (from debian package) or what command in terminal i must use?
You need to connect a PC to the router through a LAN port and log in as root using 'ssh' command. Then you can configure the router. Whoever gave you the router should know its password and IP number.

Are you sure the router is not already configured for internet connection?

Quote:
what client mode i must use,bridged or routed.
Better ask your service provider.
 
Old 09-02-2007, 04:47 AM   #13
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
i know the router ip address and root password.

but i'm not sure it already configured for internet connection or not.These are the wireless status

eth2 IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.412 GHz Tx-Power:19 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
 
Old 09-02-2007, 06:40 PM   #14
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
If you are a final year student in computer science or computer engineering you really should not be needing, or asking for, this kind of step-by-step help.
 
Old 09-02-2007, 08:18 PM   #15
alanpjs2
LQ Newbie
 
Registered: Aug 2007
Location: Malaysia
Distribution: debian 4.0
Posts: 15
Blog Entries: 1

Original Poster
Rep: Reputation: 0
actually i'm a student in electrical-engineering area.but anyway thanks for your helps.i think i can do on my own after this.
 
  


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
dmraid and ICH7 / LSI embedded RAID controller on an Asus RS120-E3 (PA4) jpluis Linux - Hardware 19 05-19-2008 03:55 AM
thinkpad fan embedded controller update zlya Linux - Laptop and Netbook 0 07-30-2007 04:09 PM
LXer: 6wind Unveils Linux-based Embedded Networking Software LXer Syndicated Linux News 0 06-25-2006 06:33 PM
Is this Controller-based or a Softmodem? peter_89 Linux - Hardware 2 06-21-2006 02:31 PM
Embedded Linux Based Set-top-box JoeyJoeJo Linux - Hardware 7 08-21-2003 03:19 PM


All times are GMT -5. The time now is 06:49 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