Hi I'm korean student.


I uploaded serial program(name is "newtty") in my router.

This router spec is Backfire (10.03.1-RC6, r28299) and kernel virsion is 2.6.32.27

when i typed

root@OpenWrt:/# ./newtty

the router is stop

To find where to error, i used printk.



Code :

int main(int argc, char *argv[]) {
    int fd, result;
    long baud = B115200; //????
    unsigned char buf;
    char sBuffer[7]={'A','B','C','D','E','\n'}; //
    printf("open start\n");
    printf("really??\n");
    if((fd = open("/dev/ttyUSB0",O_RDWR|O_NDELAY|O_NOCTTY)) < 0) {




The result is

open start
really??


and router is stop. So my computer disconnect

I installed


base-files - 43.28-r28299
block-mount - 0.1.0-2.1
busybox - 1.15.3-2
crda - 1.1.1-1
dnsmasq - 2.55-6
dropbear - 0.53.1-4
firewall - 2-34
hotplug2 - 1.0-beta-3
iptables - 1.4.6-3.1
iptables-mod-conntrack - 1.4.6-3.1
iptables-mod-nat - 1.4.6-3.1
iw - 0.9.22-2
kernel - 2.6.32.27-1
kmod-ath - 2.6.32.27+2011-08-26-1
kmod-ath9k - 2.6.32.27+2011-08-26-1
kmod-ath9k-common - 2.6.32.27+2011-08-26-1
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-08-26-1
kmod-crc-ccitt - 2.6.32.27-1
kmod-crypto-aes - 2.6.32.27-1
kmod-crypto-arc4 - 2.6.32.27-1
kmod-crypto-core - 2.6.32.27-1
kmod-fs-ext2 - 2.6.32.27-1
kmod-fs-ext3 - 2.6.32.27-1
kmod-fs-mbcache - 2.6.32.27-1
kmod-input-core - 2.6.32.27-1
kmod-input-gpio-buttons - 2.6.32.27-1
kmod-input-polldev - 2.6.32.27-1
kmod-ipt-conntrack - 2.6.32.27-1
kmod-ipt-core - 2.6.32.27-1
kmod-ipt-nat - 2.6.32.27-1
kmod-ipt-nathelper - 2.6.32.27-1
kmod-leds-gpio - 2.6.32.27-1
kmod-mac80211 - 2.6.32.27+2011-08-26-1
kmod-nls-base - 2.6.32.27-1
kmod-ppp - 2.6.32.27-1
kmod-pppoe - 2.6.32.27-1
kmod-scsi-core - 2.6.32.27-1
kmod-usb-core - 2.6.32.27-1
kmod-usb-serial - 2.6.32.27-1
kmod-usb-serial-ftdi - 2.6.32.27-1
kmod-usb-serial-pl2303 - 2.6.32.27-1
kmod-usb-storage - 2.6.32.27-1
kmod-usb-storage-extras - 2.6.32.27-1
kmod-usb2 - 2.6.32.27-1
libc - 0.9.30.1-43.28
libgcc - 4.3.3+cs-43.28
libip4tc - 1.4.6-3.1
libncurses - 5.7-2
libnl-tiny - 0.1-1
libpthread - 0.9.30.1-43.29
librt - 0.9.30.1-43.29
libuci - 12012009.6-4
libusb-1.0 - 1.0.8-1
libxtables - 1.4.6-3.1
mtd - 13
opkg - 576-1
ppp - 2.4.4-16
ppp-mod-pppoe - 2.4.4-16
screen - 4.0.3-2
swconfig - 9
uci - 12012009.6-4
udevtrigger - 106-1
usbutils - 003-1
wireless-tools - 29-4
wpad-mini - 20110527




What is the problem??

Help me........