LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   linux-based embedded controller (https://www.linuxquestions.org/questions/linux-hardware-18/linux-based-embedded-controller-580440/)

alanpjs2 08-28-2007 11:07 AM

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.

theNbomr 08-29-2007 11:33 AM

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.

alanpjs2 08-29-2007 09:06 PM

door access control
 
Quote:

Originally Posted by theNbomr (Post 2874727)
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).

maroonbaboon 08-29-2007 09:43 PM

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?

alanpjs2 08-30-2007 12:57 AM

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?

maroonbaboon 08-30-2007 01:52 AM

Quote:

Originally Posted by alanpjs2 (Post 2875298)
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.

alanpjs2 08-30-2007 10:34 AM

Quote:

Originally Posted by maroonbaboon (Post 2875336)

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.

maroonbaboon 08-30-2007 06:39 PM

Quote:

Originally Posted by alanpjs2 (Post 2875816)
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.

alanpjs2 08-30-2007 10:41 PM

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?

maroonbaboon 08-30-2007 11:20 PM

Quote:

Originally Posted by alanpjs2 (Post 2876433)
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.

alanpjs2 09-01-2007 09:40 AM

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.

maroonbaboon 09-01-2007 09:16 PM

Quote:

Originally Posted by alanpjs2 (Post 2877778)
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.

alanpjs2 09-02-2007 04:47 AM

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 key:off

maroonbaboon 09-02-2007 06:40 PM

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.

alanpjs2 09-02-2007 08:18 PM

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.


All times are GMT -5. The time now is 05:00 PM.